graflow: cleanup in subflow child params inheritance

This commit is contained in:
STEINNI
2026-04-13 07:45:53 +00:00
parent 88074b9144
commit bf837e187b
+1 -1
View File
@@ -235,7 +235,7 @@ class BZgraflow extends Buildoz{
const childEl = document.createElement('bz-graflow') const childEl = document.createElement('bz-graflow')
childEl.isSubflow = true childEl.isSubflow = true
childEl.currentOrientation = this.currentOrientation childEl.currentOrientation = this.currentOrientation
const inheritedAttrs = ['orientation', 'gapx', 'gapy', 'tween', 'align', 'tension', 'wiretype', 'edit'] const inheritedAttrs = ['orientation', 'gapx', 'gapy', 'tween', 'align', 'tension', 'wiretype', 'edit'] // ! Not 'isolated' !
for(const attrName of inheritedAttrs){ for(const attrName of inheritedAttrs){
if(this.hasAttribute(attrName)) childEl.setAttribute(attrName, this.getAttribute(attrName)) if(this.hasAttribute(attrName)) childEl.setAttribute(attrName, this.getAttribute(attrName))
} }