diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-09-02 20:56:52 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-09-02 20:56:57 +0200 |
| commit | 502fa72eb472382cc47964874893085fb88116f5 (patch) | |
| tree | 46809c368b5e280657649d6a70de21a22bc16b44 /src/Fl_Group.cxx | |
| parent | 0caa2c99c2425c52808911d9b2e08b56502436ed (diff) | |
#718: Fixes drawing issues for Fl_Tabs
Tabs were drawn incorrectly when children's box was not FL_NO_BOX
Current solution is cleaned up and always redraws tabs area
without leaving breadcrumbs behind
Diffstat (limited to 'src/Fl_Group.cxx')
| -rw-r--r-- | src/Fl_Group.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 7761b1227..4200439b3 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -956,6 +956,7 @@ void Fl_Group::update_child(Fl_Widget& widget) const { void Fl_Group::draw_child(Fl_Widget& widget) const { if (widget.visible() && widget.type() < FL_WINDOW && fl_not_clipped(widget.x(), widget.y(), widget.w(), widget.h())) { + // The following call clears all damage flags and then *sets* FL_DAMAGE_ALL widget.clear_damage(FL_DAMAGE_ALL); widget.draw(); widget.clear_damage(); |
