Merge pull request #3355 from FinnStutzenstein/Issue3169

Mediafile fullscreen (fixes #3169)
This commit is contained in:
Norman Jäckel 2017-08-18 14:26:38 +02:00 committed by GitHub
commit effe42464f
3 changed files with 3 additions and 2 deletions

View File

@ -73,6 +73,7 @@ Core:
Mediafiles:
- Fixed reloading of PDF on page change [#3274].
- Custom CKEditor plugin for browsing mediafiles [#3337].
- Project images always in fullscreen [#3355].
General:
- Several bugfixes and minor improvements.

View File

@ -158,7 +158,7 @@ angular.module('OpenSlidesApp.mediafiles.list', [
rotate: 0,
visible: true,
playing: false,
fullscreen: mediafile.is_pdf
fullscreen: mediafile.is_pdf || mediafile.is_image
}];
$http.post(postUrl, data);
}

View File

@ -60,7 +60,7 @@
<button class="btn" ng-click="mediafileFit(presentedMediafile)"
title="{{ 'Reset zoom' | translate }}"
ng-class="presentedMediafile.scale=='page-fit' ? 'btn-primary' : 'btn-default'">
<i class="fa fa-arrows-alt"></i>
<i class="fa fa-undo"></i>
</button>
<button class="btn btn-default" ng-click="mediafileZoomIn(presentedMediafile)"
title="{{ 'Zoom in' | translate }}">