Browse Source

XYController: Stop smooth when chaning knobs manually

tags/v0.9.0
falkTX 13 years ago
parent
commit
920293bb6f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      c++/xycontroller/xycontroller.cpp

+ 2
- 0
c++/xycontroller/xycontroller.cpp View File

@@ -681,11 +681,13 @@ protected slots:


void slot_updateSceneX(int x) void slot_updateSceneX(int x)
{ {
scene.setSmoothValues(float(x) / 100, float(ui->dial_y->value()) / 100);
scene.setPosX(float(x) / 100, bool(sender())); scene.setPosX(float(x) / 100, bool(sender()));
} }


void slot_updateSceneY(int y) void slot_updateSceneY(int y)
{ {
scene.setSmoothValues(float(ui->dial_x->value()) / 100, float(y) / 100);
scene.setPosY(float(y) / 100, bool(sender())); scene.setPosY(float(y) / 100, bool(sender()));
} }




Loading…
Cancel
Save