Don't keyboard-focus invisible HMenuItems
This commit is contained in:
parent
b9f8740954
commit
72bd78c77e
|
@ -11,6 +11,7 @@ MenuItem {
|
|||
topPadding: spacing / 1.75
|
||||
bottomPadding: topPadding
|
||||
height: visible ? implicitHeight : 0
|
||||
enabled: visible // prevent focusing invisible items by using keyboard
|
||||
|
||||
icon.color: theme.icons.colorize
|
||||
|
||||
|
|
3
src/icons/thin/device-action-menu.svg
Normal file
3
src/icons/thin/device-action-menu.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m12 18c1.657 0 3 1.343 3 3s-1.343 3-3 3-3-1.343-3-3 1.343-3 3-3zm0-9c1.657 0 3 1.343 3 3s-1.343 3-3 3-3-1.343-3-3 1.343-3 3-3zm0-9c1.657 0 3 1.343 3 3s-1.343 3-3 3-3-1.343-3-3 1.343-3 3-3z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 296 B |
Loading…
Reference in New Issue
Block a user