mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CtrlLib: ChGtk menu fixing
This commit is contained in:
parent
0587113a83
commit
66e1fee02e
1 changed files with 1 additions and 1 deletions
|
|
@ -511,7 +511,7 @@ void ChHostSkin()
|
|||
Image item;
|
||||
s.item = item = Hot3(CairoImage(32, 16));
|
||||
Over(body, item);
|
||||
c = AvgColor(item);
|
||||
c = AvgColor(body);
|
||||
if(Diff(c, s.itemtext) < 100) // itemtext color too close to highlight color, fix it
|
||||
s.itemtext = IsDark(c) ? White() : Black();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue