Merge branch 'Integration' into stylus3
This commit is contained in:
commit
156b363049
1 file changed
+3
-2
@@ -797,8 +797,9 @@ import SVGKit
|
|||||||
|
|
||||||
if self.widgetType == WidgetTypeEnum.touchPad {
|
if self.widgetType == WidgetTypeEnum.touchPad {
|
||||||
self.shape = "largeSquare" // override shape from user input
|
self.shape = "largeSquare" // override shape from user input
|
||||||
if(self.borderWidth < 1) {self.layer.borderWidth = 1}
|
// if(self.borderWidth < 1) {self.layer.borderWidth = 1}
|
||||||
else {self.layer.borderWidth = self.borderWidth}
|
// else {self.layer.borderWidth = self.borderWidth}
|
||||||
|
self.layer.borderWidth = self.borderWidth
|
||||||
if OnScreenWidgetView.editMode { //display label in edit mode to make the pad more visible
|
if OnScreenWidgetView.editMode { //display label in edit mode to make the pad more visible
|
||||||
// label.text = self.widgetLabel
|
// label.text = self.widgetLabel
|
||||||
if CommandManager.stickWheels.contains(self.touchPadString) {label.isHidden = true}
|
if CommandManager.stickWheels.contains(self.touchPadString) {label.isHidden = true}
|
||||||
|
|||||||
Reference in new issue
Block a user