summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmdocument.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 5f5e8ad0..d7140e51 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -623,7 +623,7 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) {
623 setHsl_Color(tmBannerIcon_ColorId, setLum_HSLColor(addSatLum_HSLColor(base, 0.35f, 0), 0.65f)); 623 setHsl_Color(tmBannerIcon_ColorId, setLum_HSLColor(addSatLum_HSLColor(base, 0.35f, 0), 0.65f));
624 624
625 const iBool altDir = (d->themeSeed & 0x4) != 0; 625 const iBool altDir = (d->themeSeed & 0x4) != 0;
626 const float altHue = fixHue_(iWrapf(base.hue + (altDir ? 90 : -90), 0, 360)); 626 const float altHue = fixHue_(iWrapf(base.hue + (altDir ? 180 : -180), 0, 360));
627 float altHue2 = fixHue_(iWrapf(base.hue + (altDir ? -30 : 30), 0, 360)); 627 float altHue2 = fixHue_(iWrapf(base.hue + (altDir ? -30 : 30), 0, 360));
628 if (altHue2 > 230) altHue2 = fixHue_(iWrapf(base.hue + (altDir ? 45 : -45), 0, 360)); 628 if (altHue2 > 230) altHue2 = fixHue_(iWrapf(base.hue + (altDir ? 45 : -45), 0, 360));
629 iHSLColor altBase = base; 629 iHSLColor altBase = base;