summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-11-24 23:52:08 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-11-24 23:52:08 +0900
commit01ec011f8e1346ef8e8b6d269d3a2722076e2ebf (patch)
tree7831010cee0088586b986a3d03add1f34fcd6462
parentbe6f4a870a667974280332ba6693e1223ec51dc5 (diff)
elm ifrace scrollable - fix uninitialized values on scroll asjust
dragable values were invalid (not fetched) so vx/y were junk and this was making decisions based on that. guarantee it to be 0. @fix
-rw-r--r--src/lib/elementary/elm_interface_scrollable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_interface_scrollable.c b/src/lib/elementary/elm_interface_scrollable.c
index 522deba..66aaf18 100644
--- a/src/lib/elementary/elm_interface_scrollable.c
+++ b/src/lib/elementary/elm_interface_scrollable.c
@@ -794,9 +794,9 @@ _elm_scroll_scroll_bar_size_adjust(Elm_Scrollable_Smart_Interface_Data *sid)
794 sid->size_adjust_recurse++; 794 sid->size_adjust_recurse++;
795 if ((sid->content) || (sid->extern_pan)) 795 if ((sid->content) || (sid->extern_pan))
796 { 796 {
797 Evas_Coord x, y, w, h, mx = 0, my = 0, vw = 0, vh = 0, px, py, 797 Evas_Coord x, y, w, h, mx = 0, my = 0, vw = 0, vh = 0,
798 minx = 0, miny = 0; 798 px = 0, py = 0, minx = 0, miny = 0;
799 double vx, vy, size; 799 double vx = 0.0, vy = 0.0, size;
800 800
801 edje_object_calc_force(sid->edje_obj); 801 edje_object_calc_force(sid->edje_obj);
802 edje_object_part_geometry_get 802 edje_object_part_geometry_get