1
0
Fork 0

Merge branch 'develop' into eriese-hiding

This commit is contained in:
Joost De Cock 2023-03-10 18:57:19 +01:00 committed by GitHub
commit dcb9833a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 1950 additions and 1497 deletions

View file

@ -163,6 +163,9 @@ Pattern.prototype.draftPartForSet = function (partName, set) {
try {
this.__runHooks('prePartDraft')
const result = this.config.parts[partName].draft(this.parts[set][partName].shorthand())
if (!this.__wants(partName, set)) {
result.hide()
}
this.__runHooks('postPartDraft')
if (typeof result === 'undefined') {
this.setStores[set].log.error(