mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Rectangle selection in 3D scene -> hovering detection
This commit is contained in:
parent
ec2f319a3d
commit
11490dfb06
6 changed files with 148 additions and 26 deletions
|
@ -59,10 +59,8 @@ namespace GUI {
|
|||
|
||||
void GLSelectionRectangle::stop_dragging()
|
||||
{
|
||||
if (!is_dragging())
|
||||
return;
|
||||
|
||||
m_state = Off;
|
||||
if (is_dragging())
|
||||
m_state = Off;
|
||||
}
|
||||
|
||||
void GLSelectionRectangle::render(const GLCanvas3D& canvas) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue