diff options
author | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:18:43 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:18:43 +0000 |
commit | 12e47f19f008d9134bad137a07a53e75207e50ff (patch) | |
tree | dc58df3c0e214184e8090c24da7a978f8c546575 | |
parent | 14d406cdcfabf77b6fc1fbce0d381bcdecbb0e94 (diff) |
Corrects widget drawing order.
-rw-r--r-- | src/ui/widget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget.cc b/src/ui/widget.cc index 9ae2f32..4812b1f 100644 --- a/src/ui/widget.cc +++ b/src/ui/widget.cc @@ -449,6 +449,8 @@ void Widget::event_draw() if (widget_background) draw_background(); + + draw(); for (Children::iterator it = widget_children.begin(); it != widget_children.end(); it++) { if ((*it)->visible()) @@ -460,8 +462,6 @@ void Widget::event_draw() if (debug()) draw_debug(); - - draw(); } void Widget::event_resize() |