mirror of https://github.com/buggins/dlangui.git
Fix theme change when window scrollbar visible.
This commit is contained in:
parent
774a33aae4
commit
b2676e83c2
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue