mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 13:28:05 +01:00
- Fixed a problem with image artifacts in the Appearance preview box
when color is changed and antialiased fonts are used.
This commit is contained in:
@@ -1593,7 +1593,10 @@ colorWellObserver(void *self, WMNotification *n)
|
|||||||
|
|
||||||
panel->colors[p] = WMRetainColor(WMGetColorWellColor(panel->colW));
|
panel->colors[p] = WMRetainColor(WMGetColorWellColor(panel->colW));
|
||||||
|
|
||||||
updateColorPreviewBox(panel, 1<<p);
|
/* redisplaying only the text when color changes will give image artifacts
|
||||||
|
* if antialiased text is used. we need to update the texture too.
|
||||||
|
updateColorPreviewBox(panel, 1<<p); */
|
||||||
|
updatePreviewBox(panel, 1<<p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user