mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fix of #2249
This commit is contained in:
parent
0bcb449fb4
commit
cc933789eb
3 changed files with 4 additions and 8 deletions
|
@ -66,7 +66,7 @@ public:
|
|||
m_normal_font = m_normal_font.Scale(m_scale_factor / scale_primary_display);
|
||||
|
||||
// initialize default width_unit according to the width of the one symbol ("m") of the currently active font of this window.
|
||||
m_em_unit = std::max<size_t>(10, this->GetTextExtent("m").x - 1/*10 * m_scale_factor*/);
|
||||
m_em_unit = std::max<size_t>(10, this->GetTextExtent("m").x - 1);
|
||||
|
||||
// recalc_font();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue