Skip to content

Commit

Permalink
Fix Dim Not Installed Games
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonius7 committed Feb 6, 2023
1 parent cd07182 commit 08729f6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,13 @@
"current" : "block",
"options": {"block", "none"},
"desc" : "Set to none to hide 'Recommond this game' box on game page."},
},

"--DLCAvailableContent" : {
"default" : "block",
"current" : "none",
"options": {"block", "none"},
"desc" : "Set to none to hide the DLC Available Content box."},
},
"Game Page Background" : {
"--AppPageBlur" : {
"default" : "8px",
Expand Down
4 changes: 2 additions & 2 deletions fixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PortraitWidthLarge: "222px", PortraitWidthLarge: "200px",
###y.De.STORE_BASE_URL + "events/ajaxgetbesteventsforuser" ""

### === Press Enter to launch games ===
switch (t) {~~case 38: case 13: return this.RunApp(S.g4.currentGameListSelection.nAppId), void e.preventDefault();case 38:
switch (t) {~~case 38: case 13: return this.RunApp(o.OX.currentGameListSelection.nAppId), void e.preventDefault();case 38:
MoveRangeSelectUpOneRow() { RunApp(e) {window.location.href = "steam://rungameid/" + e;} MoveRangeSelectUpOneRow() {

### === Expand Show more Details panel by default ===
Expand All @@ -36,7 +36,7 @@ MoveRangeSelectUpOneRow() { RunApp(e) {window.location.href = "steam://rungamei
###className: G().GameInfoShadow className: ""

### === Dim Not Installed Games ===
hoverDelay: 300, hoverDelay: 300, style: n.installed ? {} : {opacity: "var(--UninstalledGameImageOpacity)"},
hoverDelay: 300, hoverDelay: 300, style: a.installed ? {} : {opacity: "var(--UninstalledGameImageOpacity)"},

### === Don't load HOME game images, only alt text ===
###v && this.BDisplayTitle() && i.createElement("span" i.createElement("span"
Expand Down
2 changes: 1 addition & 1 deletion variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

/* Game Page Elements */
--RecommendGame: block; /* Default: block. Set to none to hide "Recommond this game" box on game page. */
--DLCAvailableContent: none; /* Default: block. Set to none to hide the DLC Available Content box. */
--DLCAvailableContent: none; /* Default: block. Set to none to hide the DLC Available Content box. */

/* Game Page Background */
--AppPageBlur: 2px; /* Default: 8px. Controls the blur between the Header and AppPage content. 2px for a more clean look. */
Expand Down

0 comments on commit 08729f6

Please sign in to comment.