mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fix issue that "Per-glyph" option not working when UI is in Chinese (#3425)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user