Skip to content

Commit

Permalink
fix tab drawing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Dec 17, 2023
1 parent 4ec239c commit 3774f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fltk
2 changes: 1 addition & 1 deletion include/cfl_widget.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ struct Widget_Derived : public T {
this->redraw();
}
void resize(int x, int y, int w, int h) override {
T::resize(x, y, w, h);
if (this->as_window() == this->top_window()) {
LOCK(Fl::handle(28, this->top_window()));
}
if (resize_handler)
resize_handler(this, x, y, w, h, resize_data_);
T::resize(x, y, w, h);
}
int handle(int event) override {
int ret = T::handle(event);
Expand Down

0 comments on commit 3774f22

Please sign in to comment.