widget layout tool minor improvements
This commit is contained in:
@@ -557,7 +557,7 @@ import ObjectiveC.runtime
|
||||
}
|
||||
}
|
||||
|
||||
if self.widgetType == WidgetTypeEnum.touchPad {
|
||||
if self.widgetType == .touchPad {
|
||||
if self.isStickWheel {
|
||||
self.widthFactor = 2
|
||||
self.heightFactor = 2.6
|
||||
@@ -587,6 +587,12 @@ import ObjectiveC.runtime
|
||||
self.sensitivityFactorY = 0
|
||||
}
|
||||
}
|
||||
if self.widgetType == .button {
|
||||
if self.isFolder {
|
||||
self.widthFactor = 1.17
|
||||
self.heightFactor = 0.77
|
||||
}
|
||||
}
|
||||
|
||||
self.tweakBorderAlpha(alpha: self.borderAlpha) // fix default borderAlpha offset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user