mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
SLA dialog: Prevented the slider to have zero width, even in case the text width is calculated incorrectly
This commit is contained in:
parent
61730aee27
commit
66a56941a5
3 changed files with 52 additions and 32 deletions
|
@ -95,6 +95,10 @@ private:
|
|||
mutable Vec3d m_old_clipping_plane_normal;
|
||||
mutable Vec3d m_clipping_plane_normal = Vec3d::Zero();
|
||||
|
||||
// This map holds all translated description texts, so they can be easily referenced during layout calculations
|
||||
// etc. When language changes, GUI is recreated and this class constructed again, so the change takes effect.
|
||||
std::map<std::string, wxString> m_desc;
|
||||
|
||||
GLSelectionRectangle m_selection_rectangle;
|
||||
|
||||
bool m_wait_for_up_event = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue