BarHeight: more rounding uniformization

This commit is contained in:
LemmyCook 2025-08-31 10:36:40 -04:00
parent fdf67ab512
commit fcf627c30b
5 changed files with 6 additions and 6 deletions

View file

@ -104,7 +104,7 @@ Rectangle {
// Anchor the menu to the tray icon item (parent) and position it below the icon
const menuX = (width / 2) - (trayMenu.item.width / 2)
const menuY = (Style.barHeight * scaling)
const menuY = Math.round(Style.barHeight * scaling)
trayMenu.item.menu = modelData.menu
trayMenu.item.showAt(parent, menuX, menuY)
} else {