mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 14:00:08 +00:00
Allow focus to move up to the toolbar from the PC/app grid
This commit is contained in:
1 parent
d040bd24d1
commit
f4712718cb
2 files changed
+11
No files matched your search
@@ -123,6 +123,9 @@ CenteredGridView {
|
||||
|
||||
sourceComponent: Item {
|
||||
RoundButton {
|
||||
// Don't steal focus from the toolbar buttons
|
||||
focusPolicy: Qt.NoFocus
|
||||
|
||||
anchors.horizontalCenterOffset: appIcon.isPlaceholder ? -47 : 0
|
||||
anchors.verticalCenterOffset: appIcon.isPlaceholder ? -75 : -60
|
||||
anchors.centerIn: parent
|
||||
@@ -146,6 +149,9 @@ CenteredGridView {
|
||||
}
|
||||
|
||||
RoundButton {
|
||||
// Don't steal focus from the toolbar buttons
|
||||
focusPolicy: Qt.NoFocus
|
||||
|
||||
anchors.horizontalCenterOffset: appIcon.isPlaceholder ? 47 : 0
|
||||
anchors.verticalCenterOffset: appIcon.isPlaceholder ? -75 : 60
|
||||
anchors.centerIn: parent
|
||||
|
||||
Reference in new issue
Block a user