minor fixes

This commit is contained in:
True Zhuanjia
2026-05-13 17:25:35 +08:00
parent c08bb232cd
commit ef3fca754f
3 changed files with 23 additions and 11 deletions
+3 -3
View File
@@ -588,9 +588,9 @@ import ObjectiveC.runtime
}
}
if self.widgetType == .button {
if self.isFolder {
self.widthFactor = 1.17
self.heightFactor = 0.77
if self.isFolder || self.isFunctionalButton {
self.widthFactor = GenericUtils.isIPhone() ? 0.88 : 1.17
self.heightFactor = GenericUtils.isIPhone() ? 0.56 : 0.77
}
}