set button-type widget default properties
This commit is contained in:
1 parent
f60433ff3f
commit
9bc518dc68
1 file changed
+7
@@ -273,6 +273,13 @@ import UIKit
|
|||||||
rightIndicator = createLrudDirectionLayer()
|
rightIndicator = createLrudDirectionLayer()
|
||||||
rightIndicator.anchorPoint = CGPoint(x: 0, y: 0.5)
|
rightIndicator.anchorPoint = CGPoint(x: 0, y: 0.5)
|
||||||
|
|
||||||
|
if self.widgetType == WidgetTypeEnum.button {
|
||||||
|
if !self.touchPadString.isEmpty {
|
||||||
|
self.mouseButtonAction = MouseButtonAction.noClick
|
||||||
|
self.slideMode = ButtonSlideMode.disabled.rawValue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
setupView()
|
setupView()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user