Mediafile fullscreen (fixes #3169)

This commit is contained in:
FinnStutzenstein 2017-08-16 10:13:36 +02:00
parent 14e38861c7
commit 07e584ae63
3 changed files with 3 additions and 2 deletions

View File

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

View File

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

View File

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