mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 02:06:04 +08:00
Fix issue that "Per-glyph" option not working when UI is in Chinese (#3425)
This commit is contained in:
parent
9e443baf95
commit
712478c240
@ -2484,7 +2484,7 @@ bool GLGizmoEmboss::rev_checkbox(const std::string &name,
|
||||
// draw offseted input
|
||||
auto draw_offseted_input = [this, &offset = m_gui_cfg->advanced_input_offset, &name, &value](){
|
||||
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;
|
||||
return revertible(name, value, default_value, undo_tooltip,
|
||||
|
Loading…
x
Reference in New Issue
Block a user