BarHeight: more rounding uniformization
This commit is contained in:
parent
fdf67ab512
commit
fcf627c30b
5 changed files with 6 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue