tabbox/switchers/thumbnail_grid: remove unnecessary second Math.round()

Fixup for 996730d3
This commit is contained in:
Nate Graham 2023-08-31 07:38:02 -06:00
parent 996730d310
commit 07773512c8

View file

@ -154,7 +154,7 @@ KWin.TabBoxSwitcher {
Kirigami.Icon {
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.bottom
anchors.verticalCenterOffset: Math.round(Math.round(-thumbnailGridView.iconSize / 4))
anchors.verticalCenterOffset: Math.round(-thumbnailGridView.iconSize / 4)
width: thumbnailGridView.iconSize
height: thumbnailGridView.iconSize