Fix theme change when window scrollbar visible.

This commit is contained in:
and3md 2017-06-25 15:35:48 +02:00
parent 774a33aae4
commit b2676e83c2
1 changed files with 5 additions and 1 deletions

View File

@ -1104,9 +1104,13 @@ class Window : CustomEventTarget {
/// handle theme change: e.g. reload some themed resources
void dispatchThemeChanged() {
if (_hScrollBar)
_hScrollBar.onThemeChanged();
if (_vScrollBar)
_vScrollBar.onThemeChanged();
if (_mainWidget)
_mainWidget.onThemeChanged();
// draw popups
// draw popups
foreach(p; _popups) {
p.onThemeChanged();
}