SwitchButton set _needDraw to false after draw, fix always redraw after events, related to #347

This commit is contained in:
and3md 2017-05-21 11:25:27 +02:00
parent 707d8da799
commit 65845759a2
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ class SwitchButton : Widget {
uint st = state;
img.drawTo(buf, rc, st);
}
_needDraw = false;
}
}