diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-04 06:52:23 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-04 06:52:23 +0100 |
| commit | 4b55a5af63f45f60a7c41c27d75822bd6893d16e (patch) | |
| tree | 7c4224f4004dfc5361711f8a160dbb66968d164f | |
| parent | d4d72cfdaf635e5399a72ce58ca4709846b9c5fe (diff) | |
Fix "overlay dotted line rendering problem" (#816)
| -rw-r--r-- | fluid/Fl_Window_Type.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index b20a3bf7e..793744ee7 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -684,9 +684,7 @@ void Fl_Window_Type::draw_overlay() { // Draw selection box + resize handles... // draw box including all labels - fl_line_style(FL_DOT); - fl_rect(mybx,myby,mybr-mybx,mybt-myby); - fl_line_style(FL_SOLID); + fl_focus_rect(mybx,myby,mybr-mybx,mybt-myby); // issue #816 // draw box excluding labels fl_rect(mysx,mysy,mysr-mysx,myst-mysy); fl_rectf(mysx,mysy,5,5); |
