Fix go-to-layer dialog in gcode preview (#4816)

gcode-preview: fix go-to-layer dialog
This commit is contained in:
Dima Buzdyk 2024-04-07 19:12:28 +05:00 committed by GitHub
parent fe914e82f3
commit ff5035ffae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1243,7 +1243,7 @@ void IMSlider::render_go_to_layer_dialog()
| ImGuiWindowFlags_NoResize
| ImGuiWindowFlags_NoScrollbar
| ImGuiWindowFlags_NoScrollWithMouse;
if (ImGui::BeginPopupModal((_u8L("Jump to layer")).c_str(), NULL, windows_flag))
if (ImGui::BeginPopupModal((_u8L("Jump to Layer")).c_str(), NULL, windows_flag))
{
imgui.text(_u8L("Please enter the layer number") + " (" + std::to_string(m_min_value + 1) + " - " + std::to_string(m_max_value + 1) + "):");
if (ImGui::IsMouseClicked(0)) {