Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2022-07-07 16:03:20 +0300
committerYuSanka <yusanka@gmail.com>2022-07-07 16:03:20 +0300
commit0cb64731b6a6f779e8e3d2ccf426bb55192c7e95 (patch)
tree24db4b247210d5f2e3a8e118a28764461b167b00
parent49dd124169401c962f722bda366c945db093aa55 (diff)
Fix for #8459 - Tooltip on "Retract amount before wipe" setting for retractionsys_8459
-rw-r--r--src/slic3r/GUI/OG_CustomCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/OG_CustomCtrl.cpp b/src/slic3r/GUI/OG_CustomCtrl.cpp
index 83537fd54..f67f6b430 100644
--- a/src/slic3r/GUI/OG_CustomCtrl.cpp
+++ b/src/slic3r/GUI/OG_CustomCtrl.cpp
@@ -687,7 +687,7 @@ wxCoord OG_CustomCtrl::CtrlLine::draw_text(wxDC& dc, wxPoint pos, const wxStr
dc.GetMultiLineTextExtent(out_text, &text_width, &text_height);
pos.y = pos.y + lround((height - text_height) / 2);
- if (width > 0)
+ if (rect_label.GetWidth() == 0)
rect_label = wxRect(pos, wxSize(text_width, text_height));
wxColour old_clr = dc.GetTextForeground();