mirror of https://github.com/buggins/dlangui.git
fix for #219
This commit is contained in:
parent
48bfd312f7
commit
01584e7478
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue