Skip to content

Commit c1f39a7

Browse files
authored
Games List: Unfocus ProtonDB Rating after Click (#220)
1 parent e83dc27 commit c1f39a7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pupgui2/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def PALETTE_DARK():
6060
palette_dark.setColor(QPalette.HighlightedText, Qt.black)
6161
return palette_dark
6262

63-
PROTONDB_COLORS = {'platinum': '#b4c7dc', 'gold': '#4f492c', 'silver': '#a6a6a6', 'bronze': '#cd7f32', 'borked': '#ff0000'}
63+
PROTONDB_COLORS = {'platinum': '#b4c7dc', 'gold': '#cfb53b', 'silver': '#a6a6a6', 'bronze': '#cd7f32', 'borked': '#ff0000', 'pending': '#748472' }
6464

6565
STEAM_API_GETAPPLIST_URL = 'https://api.steampowered.com/ISteamApps/GetAppList/v2/'
6666
STEAM_APP_PAGE_URL = 'https://store.steampowered.com/app/'

pupgui2/pupgui2gamelistdialog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ def update_protondb_status(self, game: SteamApp):
319319
trending=game.protondb_summary.get('trendingTier', '?')))
320320

321321
self.ui.tableGames.removeCellWidget(self.ui.tableGames.currentRow(), 4)
322+
pdb_item.setSelected(False)
322323

323324
def queue_ctool_change_steam(self, ctool_name: str, game: SteamApp):
324325
""" add compatibility tool changes to queue (Steam) """

0 commit comments

Comments
 (0)