summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2020-12-24 11:48:07 +0900
committerHermet Park <chuneon.park@samsung.com>2020-12-24 11:48:08 +0900
commit9a3127829950a886a2a81420cd281252d486dcf1 (patch)
tree2cba2964605974387d08f6dec320c9bc5d80502b
parented0c46fa3b915554474cb9b832fb56fb07666e34 (diff)
elm_gesture_layer: fix config value type
Summary: The value will read as unsigned char not double. @fix Reviewers: Hermet, raster, zmike Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12195
-rw-r--r--src/lib/elementary/elm_gesture_layer.c2
-rw-r--r--src/lib/elementary/elm_priv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_gesture_layer.c b/src/lib/elementary/elm_gesture_layer.c
index 5e6932c0af..2fb1a43e2b 100644
--- a/src/lib/elementary/elm_gesture_layer.c
+++ b/src/lib/elementary/elm_gesture_layer.c
@@ -3589,7 +3589,7 @@ _rotate_test(Evas_Object *obj,
3589 Gesture_Info *gesture; 3589 Gesture_Info *gesture;
3590 Rotate_Type *st = NULL; 3590 Rotate_Type *st = NULL;
3591 3591
3592 if (EINA_DBL_EQ(_elm_config->glayer_rotate_finger_enable, 0)) 3592 if (!_elm_config->glayer_rotate_finger_enable)
3593 return; 3593 return;
3594 3594
3595 if (!pe) 3595 if (!pe)
diff --git a/src/lib/elementary/elm_priv.h b/src/lib/elementary/elm_priv.h
index fe7b65297d..aee4b4d8d6 100644
--- a/src/lib/elementary/elm_priv.h
+++ b/src/lib/elementary/elm_priv.h
@@ -550,7 +550,7 @@ struct _Elm_Config
550 double glayer_zoom_finger_factor; 550 double glayer_zoom_finger_factor;
551 double glayer_zoom_wheel_factor; 551 double glayer_zoom_wheel_factor;
552 double glayer_zoom_distance_tolerance; 552 double glayer_zoom_distance_tolerance;
553 double glayer_rotate_finger_enable; 553 unsigned char glayer_rotate_finger_enable;
554 double glayer_rotate_angular_tolerance; 554 double glayer_rotate_angular_tolerance;
555 double glayer_line_min_length; 555 double glayer_line_min_length;
556 double glayer_line_distance_tolerance; 556 double glayer_line_distance_tolerance;