mirror of https://github.com/buggins/dlangui.git
SwitchButton set _needDraw to false after draw, fix always redraw after events, related to #347
This commit is contained in:
parent
707d8da799
commit
65845759a2
|
@ -211,6 +211,7 @@ class SwitchButton : Widget {
|
|||
uint st = state;
|
||||
img.drawTo(buf, rc, st);
|
||||
}
|
||||
_needDraw = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue