This commit is contained in:
Vadim Lopatin 2016-03-28 16:40:28 +03:00
parent 48bfd312f7
commit 01584e7478
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ class Button : Widget {
super.onDraw(buf); super.onDraw(buf);
Rect rc = _pos; Rect rc = _pos;
applyMargins(rc); applyMargins(rc);
buf.fillRect(_pos, backgroundColor); //buf.fillRect(_pos, backgroundColor);
applyPadding(rc); applyPadding(rc);
auto saver = ClipRectSaver(buf, rc, alpha); auto saver = ClipRectSaver(buf, rc, alpha);
FontRef font = font(); FontRef font = font();