@@ -226,7 +226,7 @@ class MenuHandler: NSMenu, NSMenuDelegate {
226226 preferencesIcon. image = NSImage ( systemSymbolName: " gearshape " , accessibilityDescription: NSLocalizedString ( " Preferences... " , comment: " Shown in menu " ) )
227227 preferencesIcon. alternateImage = NSImage ( systemSymbolName: " gearshape.fill " , accessibilityDescription: NSLocalizedString ( " Preferences... " , comment: " Shown in menu " ) )
228228 preferencesIcon. alphaValue = 0.3
229- preferencesIcon. frame = NSRect ( x: menuItemView. frame. maxX - iconSize - 16 + compensateForBlock, y: menuItemView. frame. origin. y + 5 , width: iconSize, height: iconSize)
229+ preferencesIcon. frame = NSRect ( x: menuItemView. frame. maxX - iconSize * 3 - 30 - 16 + compensateForBlock, y: menuItemView. frame. origin. y + 5 , width: iconSize, height: iconSize)
230230 preferencesIcon. imageScaling = . scaleProportionallyUpOrDown
231231 preferencesIcon. action = #selector( app. prefsClicked)
232232
@@ -239,7 +239,7 @@ class MenuHandler: NSMenu, NSMenuDelegate {
239239 updateIcon. alternateImage = NSImage ( systemSymbolName: symbolName + " .fill " , accessibilityDescription: NSLocalizedString ( " Check for updates... " , comment: " Shown in menu " ) )
240240
241241 updateIcon. alphaValue = 0.3
242- updateIcon. frame = NSRect ( x: menuItemView. frame. maxX - iconSize * 2 - 20 - 16 + compensateForBlock, y: menuItemView. frame. origin. y + 5 , width: iconSize, height: iconSize)
242+ updateIcon. frame = NSRect ( x: menuItemView. frame. maxX - iconSize * 2 - 10 - 16 + compensateForBlock, y: menuItemView. frame. origin. y + 5 , width: iconSize, height: iconSize)
243243 updateIcon. imageScaling = . scaleProportionallyUpOrDown
244244 updateIcon. action = #selector( app. updaterController. checkForUpdates ( _: ) )
245245 updateIcon. target = app. updaterController
@@ -252,7 +252,7 @@ class MenuHandler: NSMenu, NSMenuDelegate {
252252 quitIcon. image = NSImage ( systemSymbolName: symbolName, accessibilityDescription: NSLocalizedString ( " Quit " , comment: " Shown in menu " ) )
253253 quitIcon. alternateImage = NSImage ( systemSymbolName: symbolName + " .fill " , accessibilityDescription: NSLocalizedString ( " Quit " , comment: " Shown in menu " ) )
254254 quitIcon. alphaValue = 0.3
255- quitIcon. frame = NSRect ( x: menuItemView. frame. maxX - iconSize * 3 - 30 - 16 + compensateForBlock, y: menuItemView. frame. origin. y + 5 , width: iconSize, height: iconSize)
255+ quitIcon. frame = NSRect ( x: menuItemView. frame. maxX - iconSize - 16 + compensateForBlock, y: menuItemView. frame. origin. y + 5 , width: iconSize, height: iconSize)
256256 quitIcon. imageScaling = . scaleProportionallyUpOrDown
257257 quitIcon. action = #selector( app. quitClicked)
258258
0 commit comments