ENH:editing_window_width's value is small on the laptop
Jira: STUDIO-5238 STUDIO-5265 apply_selected_connectors should check_and_update_connectors_state Change-Id: I8c2c1c920cc4d197d1908815a3e62f4962335451
This commit is contained in:
parent
dd4d865f88
commit
3fd1c6702a
|
@ -1296,6 +1296,7 @@ void GLGizmoAdvancedCut::apply_selected_connectors(std::function<void(size_t idx
|
||||||
for (size_t idx = 0; idx < m_selected.size(); idx++)
|
for (size_t idx = 0; idx < m_selected.size(); idx++)
|
||||||
if (m_selected[idx])
|
if (m_selected[idx])
|
||||||
apply_fn(idx);
|
apply_fn(idx);
|
||||||
|
check_and_update_connectors_state();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLGizmoAdvancedCut::select_all_connectors()
|
void GLGizmoAdvancedCut::select_all_connectors()
|
||||||
|
@ -1927,7 +1928,7 @@ void GLGizmoAdvancedCut::render_cut_plane_input_window(float x, float y, float b
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
m_editing_window_width = 400;
|
m_editing_window_width = 400;
|
||||||
#else
|
#else
|
||||||
m_editing_window_width = 240;
|
m_editing_window_width = 270;
|
||||||
#endif
|
#endif
|
||||||
bool is_changed{false};
|
bool is_changed{false};
|
||||||
is_changed |= render_slider_double_input(_u8L("Depth"), m_groove.depth, m_groove.depth_tolerance);
|
is_changed |= render_slider_double_input(_u8L("Depth"), m_groove.depth, m_groove.depth_tolerance);
|
||||||
|
|
Loading…
Reference in New Issue