mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-15 00:34:05 +09:00
Fix dynamic size extra pixel on Ubuntu
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user