diff options
Diffstat (limited to 'src/gestures-pinch.c')
| -rw-r--r-- | src/gestures-pinch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gestures-pinch.c b/src/gestures-pinch.c index bc5db1f..facb952 100644 --- a/src/gestures-pinch.c +++ b/src/gestures-pinch.c | |||
| @@ -40,9 +40,9 @@ static void set_props(const struct gesture_inserter *gin, | |||
| 40 | const struct move_model *m, | 40 | const struct move_model *m, |
| 41 | const struct utouch_frame *frame) | 41 | const struct utouch_frame *frame) |
| 42 | { | 42 | { |
| 43 | s->prop[GRAIL_PROP_PINCH_DR] = gin->scale_r * m->fm[FM_R].action_delta; | 43 | s->prop[GRAIL_PROP_PINCH_DR] = m->fm[FM_R].action_delta; |
| 44 | s->prop[GRAIL_PROP_PINCH_VR] = gin->scale_r * m->fm[FM_R].velocity; | 44 | s->prop[GRAIL_PROP_PINCH_VR] = m->fm[FM_R].velocity; |
| 45 | s->prop[GRAIL_PROP_PINCH_R] = gin->scale_r * m->fm[FM_R].value; | 45 | s->prop[GRAIL_PROP_PINCH_R] = m->fm[FM_R].value; |
| 46 | s->nprop = 3; | 46 | s->nprop = 3; |
| 47 | s->nprop += gin_add_contact_props(gin, s->prop + s->nprop, frame); | 47 | s->nprop += gin_add_contact_props(gin, s->prop + s->nprop, frame); |
| 48 | } | 48 | } |
