From 2f7c2e79d29e2d6b65e04feabc153d30d0f20595 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 17 May 2024 22:18:44 +0200 Subject: [PATCH] impr: Remove ugly dark edges around light theme backdrop image --- .../builtin/romfs/assets/light/backdrop.png | Bin 6044 -> 9701 bytes .../builtin/source/content/welcome_screen.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/romfs/assets/light/backdrop.png b/plugins/builtin/romfs/assets/light/backdrop.png index 2167cdd1bc38d40976a37efd956d601745248ba5..ac8865f337bcb681555b5b29f6f1471611c68437 100644 GIT binary patch literal 9701 zcmeHLdsGuw8o#`Z;w!YYf>t{Q*Mrr(UnEO-2vMR$Q$Q=Nu1+!&n3|WFfdsa!L2PRm zj$NVER#|JUd)8{LR{OA35eitl7PZ@Lty*0l-EFZxV9)NVThP6C0vIH);kxx8QjlZSgS zm)mKjY$V2%xk!xkQdR)Gr|hQFBb%`iUDxBsN2CM!DC&VX$1z=FZQHh7nt1fk^P?;& zXLmk0A!=o0?e?|vXUTHvW}JDzxH>JdF84Qo*n0L-$3ur_+14yNej)COibQ>jqp%^N zUB2>)Nb$kkE$K5l`7f?MT&t^jGC}&G4?o`h)SHSOC&adyA7xcEZ=&0_l;64GpX^FdijDpI^Tlh%K zi4|3kR?p*&DOxmsVN7O6RLjXG!{_>0U5oRI<1RKWOFw(&x8EFy>S}u|zinf}rl;4g znbXp`@OSerSLpdweEy;OmR#Mdg`a&)KXaz}lN0-rkNqp{`gaMY*vV1P2$t2fKd0ZH znYxE+ufP66%>1?S7w8Maszf01d=<(|s<&F>$4(Y~)F zGJ0d>)EyUhDl1RU{p+~#LU;7a4=SsFSUve##JXQMcGQUyYm;J%|5vR)*Im;vW%P(M zk=;uj&MOu5X`t}Z(>I5tq(mQ@{nCM}omU&Kp1q~};_5ZtDYN@{_mRzRSazipEUyK| zT&=}v7vY4{Op3gA7pyw~Qq#RI+_IEpFf&<1Idp<+`wj{)iqHw3P#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v+Y`J@q#W4wH*m=Nz3MW=%+of-1qL`%Qn|Njy8KUU(Wg7d3cSA=8@+|lG$P>{FwN9)9L&<-F)0O#yKfLpN}LaZM<=? zh<)>y-5siNrQ#+w?Fpy;*Q zt*cYy?Qxqw&VBZtdNX5E4T^LY)N_eWdd&X6`TpHmttUCnHAR@2^tb&rWMV0AOuM^n ze}C@oN~Rz48@1QIU2oQK)Bn=zT-_p;FZs;k*K>XEG3%8#98`}rQgQ!uS%i!A!QY;J zn(RDxm~6B2^4HeRv15>YmGzU&!h*%Ed&=H-AK$$@ckiF=AGj=u(VVz^k)><(zh|ZksARxo+VbHQUUSJU;_rbMp1#?u+iZEErp3EbpVB)+( zve8+NVNN!Kfqm-HNh}QUAJdNIF+5mfsUFY3z@WE@L4hH`kcol80mx%uU}0cL@SB_< zl){?8?>S3za-palqub^}aX}`>(?OxDH90_v8i3e9Eq^nE0FdFr0Hc1~O#^EG-_77T zs}pGI0oUn{7L!i1|M<)PoF}Hao^kR)A^FJ(A_9}EMRX?H3F`?e1GO_Sf(QYIig2Lm zlN;r|CRZpXupZ!>WD-2tP{fDHfNAnZA;ZZz!djC9M9xh--Ev?dpbuuaYq)&bh1i^p1^%V*R#q=#;u#RLwF z4^AdRATNMDA~Dr`S49{w6rkam_VBFUJVB@zfdLm;akx9(86+L^<%5p`Lq!E6!+~=> z>5L#H1s@L^A8=>8=Qt^iiy`6`!<+LK&TfymfieeL1?pdO8~pJL@nO)(XDBnxoFlD# zvj-?6@$--d$Bqx1`Rix&{Rv=9Sjh~GLP4PM{}>q<9e@s*UJr~}0Vak6N98vc3iLBh dZV=!WPb*^AwyfLw$fyqN7Ef0{mvv4FO#mkqXv_cr diff --git a/plugins/builtin/source/content/welcome_screen.cpp b/plugins/builtin/source/content/welcome_screen.cpp index 5fd1d29d9..4dd59bf5e 100644 --- a/plugins/builtin/source/content/welcome_screen.cpp +++ b/plugins/builtin/source/content/welcome_screen.cpp @@ -501,7 +501,7 @@ namespace hex::plugin::builtin { RequestChangeTheme::subscribe([](const std::string &theme) { auto changeTexture = [&](const std::string &path) { - return ImGuiExt::Texture::fromImage(romfs::get(path).span(), ImGuiExt::Texture::Filter::Linear); + return ImGuiExt::Texture::fromImage(romfs::get(path).span(), ImGuiExt::Texture::Filter::Nearest); }; auto changeTextureSvg = [&](const std::string &path) {