photocam: fix late calculation when object is resized or moved 99/166299/2
authorWooHyun Jung <wh0705.jung@samsung.com>
Tue, 9 Jan 2018 08:21:46 +0000 (17:21 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 10 Jan 2018 04:49:19 +0000 (04:49 +0000)
This commit is merged from Tizen 2.4

@tizen_fix

Change-Id: Icb86010cfcf5a152cdbb1e0bcca14babb993b924

src/lib/elementary/efl_ui_image_zoomable.c

index 5131958..6f758b5 100644 (file)
@@ -159,7 +159,12 @@ _efl_ui_image_zoomable_pan_efl_gfx_position_set(Eo *obj, Efl_Ui_Image_Zoomable_P
    efl_gfx_position_set(efl_super(obj, MY_PAN_CLASS), pos);
 
    ecore_job_del(psd->wsd->calc_job);
+   //TIZEN ONLY (20150911): Many job based calculation should be fixed together in the upstream.
+   /*
    psd->wsd->calc_job = ecore_job_add(_calc_job_cb, psd->wobj);
+   */
+   _calc_job_cb(psd->wobj);
+   //////
 }
 
 EOLIAN static void
@@ -172,7 +177,12 @@ _efl_ui_image_zoomable_pan_efl_gfx_size_set(Eo *obj, Efl_Ui_Image_Zoomable_Pan_D
 
    psd->wsd->resized = EINA_TRUE;
    ecore_job_del(psd->wsd->calc_job);
+   //TIZEN ONLY (20150911): Many job based calculation should be fixed together in the upstream.
+   /*
    psd->wsd->calc_job = ecore_job_add(_calc_job_cb, psd->wobj);
+   */
+   _calc_job_cb(psd->wobj);
+   //////
 }
 
 static void