ui: usability fixes
* reduced mouse drag sensibility when clicking on graph nodes * also edit search element when cursor in front and pressing DELETE * scroll to up to minimized snippet after minimizing when scrolled down far
This commit is contained in:
@@ -35,7 +35,7 @@ void QtGraphNodeComponentClickable::nodeMouseMoveEvent(QGraphicsSceneMouseEvent*
|
||||
{
|
||||
Vec2i mousePos = Vec2i(event->scenePos().x(), event->scenePos().y());
|
||||
|
||||
if ((mousePos - m_mousePos).getLength() > 1.0f)
|
||||
if ((mousePos - m_mousePos).getLength() > 3.0f)
|
||||
{
|
||||
m_mouseMoved = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user