From 7b69260d289713e86cde2829f140ec702c191c58 Mon Sep 17 00:00:00 2001 From: Jonius7 Date: Sun, 17 Oct 2021 10:58:23 +1000 Subject: [PATCH] Fix broken Sticky Image Background --- fixes.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fixes.txt b/fixes.txt index 9c83d65..6a9806c 100644 --- a/fixes.txt +++ b/fixes.txt @@ -44,12 +44,12 @@ bForcePopOut: !0,~~popupWidth: 842, popupWidth: 672, ### === CLASSIC Sticky image background and spillover into sidebar (beta) === ###rgHeaderImages: this.props.rgHeaderImages, rgHeaderImages: "", -###strMedium: "MediumWindow"~~}; }; var sURL,appId=g.a.currentGameListSelection.nAppId,sURL2="",sURL3="", sURL4="";sURL2="customimages/"+appId+"_hero.jpg",sURL="customimages/"+appId+"_hero.png",sURL3="assets/"+appId+"_library_hero.jpg", sURL4="https://steamcdn-a.akamaihd.net/steam/apps/"+appId+"/library_hero.jpg"; +###strMedium: "MediumWindow"~~}; }; var sURL,appId=y.b.currentGameListSelection.nAppId,sURL2="",sURL3="", sURL4="";sURL2="customimages/"+appId+"_hero.jpg",sURL="customimages/"+appId+"_hero.png",sURL3="assets/"+appId+"_library_hero.jpg", sURL4="https://steamcdn-a.akamaihd.net/steam/apps/"+appId+"/library_hero.jpg"; ###className: t.join(" "), className: t.join(" "), style: {background: "-webkit-linear-gradient(rgba(0,0,0,0) 0%,rgba(0,0,0,1) 60%), url(" + sURL + ")" + ", url(" + sURL2 + ")" + ", url(" + sURL3 + ")" + ", url(" + sURL4 + ")"}, ###src: this.props.rgBlurImages[this.state.nBlurImageIndex], src: "", -###(this.is_hero_custom_image ? "#CustomArt_ClearCustomBackground" : "#CustomArt_SetCustomBackground")), ("#CustomArt_SetCustomBackground")), D.createElement(he.d, {is_hero_current_image: !1, onSelected: this.OnRemoveHero}, Object(D.f)("#CustomArt_ClearCustomBackground")), +###(this.is_hero_custom_image ? "#CustomArt_ClearCustomBackground" : "#CustomArt_SetCustomBackground")), ("#CustomArt_SetCustomBackground")), r.createElement(_e.d, {is_hero_current_image: !1, onSelected: this.OnRemoveHero}, Object(D.f)("#CustomArt_ClearCustomBackground")), ###}, t.prototype.OnChangeLogo = function(e) { }, t.prototype.OnRemoveHero = function(e) {this.OnChangeArtwork(Object.create({src: "src"}), this.m_refFileInputHero, 1)}, t.prototype.OnChangeLogo = function(e) { -###Object(a.c)([E.a], e.prototype, "OnChangeHero", null), Object(a.c)([E.a], e.prototype, "OnChangeHero", null), Object(a.c)([E.a], e.prototype, "OnRemoveHero", null), +###Object(a.c)([O.a], t.prototype, "OnChangeHero", null), Object(a.c)([O.a], t.prototype, "OnChangeHero", null), Object(a.c)([O.a], t.prototype, "OnRemoveHero", null), ### === Press Enter to launch games === switch (t) {~~case 38: case 13: return this.RunApp(g.a.currentGameListSelection.nAppId), void e.preventDefault();case 38: