mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fixed gizmos' tooltips
This commit is contained in:
parent
c1e92a5759
commit
ffe404fc5b
8 changed files with 47 additions and 28 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue