Autoformatting

This commit is contained in:
ItsLemmy
2025-11-10 08:35:36 -05:00
parent 0573f24d63
commit e76b3429d1
+6 -6
View File
@@ -122,13 +122,13 @@ Item {
color: forceOpen ? Color.mOnSurface : Color.mPrimary
visible: revealed
function getVerticalCenterOffset() {
var offset = openDownward ? Math.round(pillPaddingVertical * 0.75) : -Math.round(pillPaddingVertical * 0.75)
if (forceOpen) {
offset += oppositeDirection ? -Style.marginXXS : Style.marginXXS
function getVerticalCenterOffset() {
var offset = openDownward ? Math.round(pillPaddingVertical * 0.75) : -Math.round(pillPaddingVertical * 0.75)
if (forceOpen) {
offset += oppositeDirection ? -Style.marginXXS : Style.marginXXS
}
return offset
}
return offset
}
}
Behavior on width {
enabled: showAnim.running || hideAnim.running