Function Curves Window Usability - Option 1 (#657)

* removed ctrl key requirement from function curves editor

* removed commented code
This commit is contained in:
turtletooth 2016-07-20 19:29:28 -06:00 committed by shun-iwasawa
parent 2a7129aa92
commit 66af7cc365

View file

@ -207,9 +207,6 @@ void MovePointDragTool::click(QMouseEvent *e) {
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void MovePointDragTool::drag(QMouseEvent *e) { void MovePointDragTool::drag(QMouseEvent *e) {
// need ctrl modifier
if (0 == (e->modifiers() & Qt::ControlModifier)) return;
QPoint pos = e->pos(); QPoint pos = e->pos();
// if shift is pressed then apply constraints (only horizontal or vertical // if shift is pressed then apply constraints (only horizontal or vertical
@ -331,9 +328,6 @@ void MoveHandleDragTool::click(QMouseEvent *e) {
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void MoveHandleDragTool::drag(QMouseEvent *e) { void MoveHandleDragTool::drag(QMouseEvent *e) {
// need ctrl modifier
if (0 == (e->modifiers() & Qt::ControlModifier)) return;
if (!m_curve) return; if (!m_curve) return;
QPoint pos = e->pos(); QPoint pos = e->pos();