summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-07-08 14:42:34 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-07-08 14:42:34 +0100
commitdcf5bc0e7e608e2af404cdb9114e1e05332477a1 (patch)
tree188f251713a99e8cc3e956d8ddf337dd9144b28c /src
parent0b1c4100efade6585c1a21bea0d910df013091c4 (diff)
shot - dont allow image in virtual cnavs to resize
Diffstat (limited to 'src')
-rw-r--r--src/modules/shot/e_mod_edit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/shot/e_mod_edit.c b/src/modules/shot/e_mod_edit.c
index ef69f5a79..88bbc632f 100644
--- a/src/modules/shot/e_mod_edit.c
+++ b/src/modules/shot/e_mod_edit.c
@@ -2108,6 +2108,7 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone,
2108 evas_object_show(o); 2108 evas_object_show(o);
2109 2109
2110 o_img = o = evas_object_image_filled_add(evas2); 2110 o_img = o = evas_object_image_filled_add(evas2);
2111 evas_object_image_smooth_scale_set(o_img, EINA_FALSE);
2111 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, 2112 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
2112 _cb_draw_none_mouse_down, NULL); 2113 _cb_draw_none_mouse_down, NULL);
2113 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 2114 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -2117,6 +2118,7 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone,
2117 evas_object_image_data_copy_set(o, dst); 2118 evas_object_image_data_copy_set(o, dst);
2118 evas_object_image_data_update_add(o, 0, 0, sw, sh); 2119 evas_object_image_data_update_add(o, 0, 0, sw, sh);
2119 evas_object_size_hint_min_set(o, img_w, img_h); 2120 evas_object_size_hint_min_set(o, img_w, img_h);
2121 evas_object_size_hint_max_set(o, img_w, img_h);
2120 elm_win_resize_object_add(win2, o); 2122 elm_win_resize_object_add(win2, o);
2121 evas_object_show(o); 2123 evas_object_show(o);
2122 2124