Skip to content

Commit

Permalink
try to fix compilation on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed Oct 31, 2023
1 parent 7afb87c commit b08b683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/CustomTheme_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if (color.lightnessF() < 0.5)
win.appearance = [NSAppearance appearanceNamed:NSAppearanceNameVibrantDark];

qreal r,g,b,a;
float r,g,b,a;
color.getRgbF(&r,&g,&b,&a);
win.backgroundColor = [NSColor colorWithDeviceRed:r green:g blue:b alpha:a];
}

0 comments on commit b08b683

Please sign in to comment.