mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Add gamepad navigation support for everything except context menus and dialogs
This commit is contained in:
1 parent
9fb0bffd61
commit
d706e81cd4
9 files changed
+291
-14
No files matched your search
@@ -2,6 +2,10 @@ import QtQuick 2.0
|
||||
import QtQuick.Controls 2.2
|
||||
|
||||
MenuItem {
|
||||
// Ensure focus can't be given to an invisible item
|
||||
enabled: visible
|
||||
height: visible ? implicitHeight : 0
|
||||
|
||||
Keys.onReturnPressed: {
|
||||
triggered()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user