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,6 +1104,10 @@ 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
|
||||
|
|
Loading…
Reference in New Issue