folder expansion fix
This commit is contained in:
1 parent
1630f7987a
commit
ab14e18b4a
2 files changed
+5
No files matched your search
@@ -440,6 +440,7 @@ import ObjectiveC.runtime
|
|||||||
@objc public var parentSequence: Int16 = -1
|
@objc public var parentSequence: Int16 = -1
|
||||||
@objc public var standardFoldingInterval: TimeInterval = 0.05
|
@objc public var standardFoldingInterval: TimeInterval = 0.05
|
||||||
static weak var capturer: OnScreenWidgetView?
|
static weak var capturer: OnScreenWidgetView?
|
||||||
|
@objc static weak var deepestButton: OnScreenWidgetView?
|
||||||
|
|
||||||
@objc init(cmdString: String, buttonLabel: String, shape:String, profile:OSCProfile) {
|
@objc init(cmdString: String, buttonLabel: String, shape:String, profile:OSCProfile) {
|
||||||
|
|
||||||
@@ -3638,6 +3639,9 @@ import ObjectiveC.runtime
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if widget.hasNonEditableLabel {widget.setupAtrributedText()}
|
if widget.hasNonEditableLabel {widget.setupAtrributedText()}
|
||||||
|
if widget.widgetType == .touchPad, let deepestButton = OnScreenWidgetView.deepestButton {
|
||||||
|
widget.superview?.insertSubview(widget, belowSubview: deepestButton)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -814,6 +814,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
|||||||
if (index<buttonIndex){
|
if (index<buttonIndex){
|
||||||
buttonIndex = index;
|
buttonIndex = index;
|
||||||
deepestButton = subview;
|
deepestButton = subview;
|
||||||
|
OnScreenWidgetView.deepestButton = (OnScreenWidgetView* )deepestButton;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user