mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -1243,7 +1243,7 @@ void IMSlider::render_go_to_layer_dialog()
|
||||||
| ImGuiWindowFlags_NoResize
|
| ImGuiWindowFlags_NoResize
|
||||||
| ImGuiWindowFlags_NoScrollbar
|
| ImGuiWindowFlags_NoScrollbar
|
||||||
| ImGuiWindowFlags_NoScrollWithMouse;
|
| 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) + "):");
|
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)) {
|
if (ImGui::IsMouseClicked(0)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue