Compare commits
3 Commits
7f3f4746df
...
a5b12fb00c
Author | SHA1 | Date | |
---|---|---|---|
a5b12fb00c
|
|||
b42f476f56
|
|||
fd1c4e94fa
|
@@ -30,6 +30,7 @@
|
|||||||
- Ошибки темы в Gamescope
|
- Ошибки темы в Gamescope
|
||||||
- Размер иконок для desktop файлов теперь 128x128
|
- Размер иконок для desktop файлов теперь 128x128
|
||||||
- Пустая область при обновлении сетки игр
|
- Пустая область при обновлении сетки игр
|
||||||
|
- Запуск игры при открытом оверлее
|
||||||
|
|
||||||
### Contributors
|
### Contributors
|
||||||
- @Dervart
|
- @Dervart
|
||||||
|
@@ -137,6 +137,8 @@ class ContextMenuManager:
|
|||||||
if not exe_path or not os.path.exists(exe_path):
|
if not exe_path or not os.path.exists(exe_path):
|
||||||
return False
|
return False
|
||||||
current_exe = os.path.basename(exe_path)
|
current_exe = os.path.basename(exe_path)
|
||||||
|
elif game_card.game_source == "steam":
|
||||||
|
return False
|
||||||
else:
|
else:
|
||||||
exec_line = self._get_exec_line(game_card.name, game_card.exec_line)
|
exec_line = self._get_exec_line(game_card.name, game_card.exec_line)
|
||||||
if not exec_line:
|
if not exec_line:
|
||||||
|
@@ -369,6 +369,7 @@ class InputManager(QObject):
|
|||||||
active = QApplication.activeWindow()
|
active = QApplication.activeWindow()
|
||||||
focused = QApplication.focusWidget()
|
focused = QApplication.focusWidget()
|
||||||
popup = QApplication.activePopupWidget()
|
popup = QApplication.activePopupWidget()
|
||||||
|
modal_dialog = QApplication.activeModalWidget()
|
||||||
|
|
||||||
# Handle Guide button to open system overlay
|
# Handle Guide button to open system overlay
|
||||||
if button_code in BUTTONS['guide']:
|
if button_code in BUTTONS['guide']:
|
||||||
@@ -460,7 +461,7 @@ class InputManager(QObject):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Game launch on detail page
|
# Game launch on detail page
|
||||||
if (button_code in BUTTONS['confirm']) and self._parent.currentDetailPage is not None and self._parent.current_add_game_dialog is None:
|
if (button_code in BUTTONS['confirm']) and self._parent.currentDetailPage is not None and modal_dialog is None:
|
||||||
if self._parent.current_exec_line:
|
if self._parent.current_exec_line:
|
||||||
self.trigger_rumble()
|
self.trigger_rumble()
|
||||||
self._parent.toggleGame(self._parent.current_exec_line, None)
|
self._parent.toggleGame(self._parent.current_exec_line, None)
|
||||||
|
Reference in New Issue
Block a user