Fix dynamic size extra pixel on Ubuntu

This commit is contained in:
Charles Gagnon
2025-02-18 09:23:39 -05:00
parent 878fdce81e
commit 6e7fe8c2c2

View File

@@ -999,7 +999,7 @@ export const Panel = GObject.registerClass(
tl = Math.max(tl, br - groupSize)
} else {
// CENTERED_MONITOR
let half = Math.max(0, Math.round((br - tl - groupSize) * 0.5))
let half = Math.max(0, Math.floor((br - tl - groupSize) * 0.5))
tl += half
br -= half