mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Remove unnecessary requires_extra_frame call
This commit is contained in:
@@ -323,7 +323,6 @@ void GCodeViewer::SequentialView::Marker::render_position_window(const libvgcode
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (imgui.image_button(properties_shown ? ImGui::HorizontalHide : ImGui::HorizontalShow, properties_shown ? _u8L("Hide properties") : _u8L("Show properties"))) {
|
if (imgui.image_button(properties_shown ? ImGui::HorizontalHide : ImGui::HorizontalShow, properties_shown ? _u8L("Hide properties") : _u8L("Show properties"))) {
|
||||||
properties_shown = !properties_shown;
|
properties_shown = !properties_shown;
|
||||||
imgui.requires_extra_frame();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (properties_shown) {
|
if (properties_shown) {
|
||||||
|
|||||||
Reference in New Issue
Block a user