mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX:fix GizmoText failed to change font
Change-Id: I2b6ea7effead4d4667b4a797392396784be9180d
This commit is contained in:
parent
05dddcfd3c
commit
03f62ed9ae
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ void GLGizmoText::on_render_input_window(float x, float y, float bottom_limit)
|
|||
const bool is_selected = (m_curr_font_idx == i);
|
||||
if (ImGui::BBLSelectable(cstr_font_names[i], is_selected)) {
|
||||
m_curr_font_idx = i;
|
||||
m_font_name = cstr_font_names[m_curr_font_idx];
|
||||
}
|
||||
if (is_selected) {
|
||||
ImGui::SetItemDefaultFocus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue