Function Curves Window Usability - Option 1 (#657)
* removed ctrl key requirement from function curves editor * removed commented code
This commit is contained in:
parent
2a7129aa92
commit
66af7cc365
1 changed files with 0 additions and 6 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue