summaryrefslogtreecommitdiff
path: root/src/view/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/viewer.c')
-rw-r--r--src/view/viewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/viewer.c b/src/view/viewer.c
index 2605716..925db14 100644
--- a/src/view/viewer.c
+++ b/src/view/viewer.c
@@ -339,6 +339,8 @@ static void _draw_contents(struct _priv *priv, int id, app_media_info *mi)
elm_photocam_file_set(obj, mi->file_path);
elm_photocam_zoom_mode_set(obj, ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT);
+ elm_photocam_image_orient_set(obj,
+ util_get_orient(mi->image->orientation));
}
static void _draw_title_bar(struct _priv *priv, int id, app_media_info *mi)