Fix NIconButton Scaling

This commit is contained in:
ItsLemmy
2025-10-12 18:03:26 -04:00
parent 8f13afb9e9
commit 48ade771fb
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ Rectangle {
signal rightClicked
signal middleClicked
implicitWidth: applyUiScale ? Math.round(baseSize * applyUiScale) : Math.round(baseSize)
implicitHeight: applyUiScale ? Math.round(baseSize * applyUiScale) : Math.round(baseSize)
implicitWidth: applyUiScale ? Math.round(baseSize * Style.uiScaleRatio) : Math.round(baseSize)
implicitHeight: applyUiScale ? Math.round(baseSize * Style.uiScaleRatio) : Math.round(baseSize)
opacity: root.enabled ? Style.opacityFull : Style.opacityMedium
color: root.enabled && root.hovering ? colorBgHover : colorBg