1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-18 09:14:27 +00:00

Fixed gizmos' tooltips

This commit is contained in:
enricoturri1966
2020-03-16 12:45:39 +01:00
parent c1e92a5759
commit ffe404fc5b
8 changed files with 47 additions and 28 deletions
+1 -2
View File
@@ -79,9 +79,8 @@ void GLGizmoCut::on_update(const UpdateData& data)
void GLGizmoCut::on_render() const
{
if (m_grabbers[0].dragging) {
if (m_hover_id == 0 || m_grabbers[0].dragging)
set_tooltip("Z: " + format(m_cut_z, 2));
}
const Selection& selection = m_parent.get_selection();