~timo-jyrinki/gallery-app/allow_translating_date_strings

« back to all changes in this revision

Viewing changes to rc/qml/MediaViewer/MediaViewer.qml

  • Committer: CI Train Bot
  • Author(s): Arthur Mello
  • Date: 2015-03-18 16:37:27 UTC
  • mfrom: (1116.3.42 gallery-app-fix_1425563)
  • Revision ID: ci-train-bot@canonical.com-20150318163727-wnhsac5rmg2f8qco
Do not update PhotoViewer Image sourceSize everytime the app is resized on devices.
That way we will not flicker the image everytime we toggle fullscreen
Animate Image resize Fixes: #1425563

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
            id: media
148
148
            objectName: "openedMedia" + index
149
149
            mediaSource: model.mediaSource
150
 
            maxDimension: Math.max(galleryPhotoViewer.width, galleryPhotoViewer.height)
151
150
 
152
151
            width: galleryPhotoViewer.width
153
152
            height: galleryPhotoViewer.height