mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-18 22:31:13 -06:00
Fix issue that "Per-glyph" option not working when UI is in Chinese (#3425)
This commit is contained in:
parent
9e443baf95
commit
712478c240
1 changed files with 1 additions and 1 deletions
|
@ -2484,7 +2484,7 @@ bool GLGizmoEmboss::rev_checkbox(const std::string &name,
|
||||||
// draw offseted input
|
// draw offseted input
|
||||||
auto draw_offseted_input = [this, &offset = m_gui_cfg->advanced_input_offset, &name, &value](){
|
auto draw_offseted_input = [this, &offset = m_gui_cfg->advanced_input_offset, &name, &value](){
|
||||||
ImGui::SameLine(offset);
|
ImGui::SameLine(offset);
|
||||||
return m_imgui->bbl_checkbox(("##" + name).c_str(), value);
|
return m_imgui->bbl_checkbox(wxString::FromUTF8("##" + name), value);
|
||||||
};
|
};
|
||||||
float undo_offset = ImGui::GetStyle().WindowPadding.x;
|
float undo_offset = ImGui::GetStyle().WindowPadding.x;
|
||||||
return revertible(name, value, default_value, undo_tooltip,
|
return revertible(name, value, default_value, undo_tooltip,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue