mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-31 02:22:01 +08:00
Fix go-to-layer dialog in gcode preview (#4816)
gcode-preview: fix go-to-layer dialog
This commit is contained in:
parent
fe914e82f3
commit
ff5035ffae
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user