Add ability to pin Usercards to stay open even if it loses focus (#3884)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: James Upjohn <jammehcow@jammehcow.co.nz>
This commit is contained in:
Patrick Geneva
2022-11-12 07:21:43 -05:00
committed by GitHub
parent 070151fbc8
commit 06b28ea0ab
15 changed files with 134 additions and 1 deletions
+2
View File
@@ -278,10 +278,12 @@ void Theme::actuallyUpdate(double hue, double multiplier)
if (this->isLightTheme())
{
this->buttons.copy = getResources().buttons.copyDark;
this->buttons.pin = getResources().buttons.pinDisabledDark;
}
else
{
this->buttons.copy = getResources().buttons.copyLight;
this->buttons.pin = getResources().buttons.pinDisabledLight;
}
}