folder expansion fix

This commit is contained in:
True Zhuanjia committed 2026-05-17 21:40:24 +08:00
1 parent 1630f7987a
commit ab14e18b4a
2 files changed
+5

No files matched your search

+4
View File
@@ -440,6 +440,7 @@ import ObjectiveC.runtime
@objc public var parentSequence: Int16 = -1
@objc public var standardFoldingInterval: TimeInterval = 0.05
static weak var capturer: OnScreenWidgetView?
@objc static weak var deepestButton: OnScreenWidgetView?
@objc init(cmdString: String, buttonLabel: String, shape:String, profile:OSCProfile) {
@@ -3638,6 +3639,9 @@ import ObjectiveC.runtime
}
}
if widget.hasNonEditableLabel {widget.setupAtrributedText()}
if widget.widgetType == .touchPad, let deepestButton = OnScreenWidgetView.deepestButton {
widget.superview?.insertSubview(widget, belowSubview: deepestButton)
}
})
}
}