Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
GoodbyeNJN
2025-11-29 01:55:39 +08:00
committed by GoodbyeNJN
parent daefa6d0e6
commit 512dfa3290
+1 -1
View File
@@ -141,7 +141,7 @@ Rectangle {
}
}
implicitWidth: visible ? (isVerticalBar ? Style.capsuleHeight : showTitle ? taskbarLayout.implicitWidth : Math.round(taskbarLayout.implicitWidth + Style.marginM * 2)) : 0
implicitWidth: visible ? (isVerticalBar ? Style.capsuleHeight : showTitle ? Math.round(taskbarLayout.implicitWidth) : Math.round(taskbarLayout.implicitWidth + Style.marginM * 2)) : 0
implicitHeight: visible ? (isVerticalBar ? Math.round(taskbarLayout.implicitHeight + Style.marginM * 2) : Style.capsuleHeight) : 0
radius: Style.radiusM
color: Style.capsuleColor