Merge pull request #3135 from emanuelschuetze/projector-scroll-direction

Switch projector scroll direction
This commit is contained in:
Norman Jäckel 2017-03-23 23:24:02 +01:00 committed by GitHub
commit 5cd3b73725

View File

@ -171,7 +171,7 @@ angular.module('OpenSlidesApp.core.projector', ['OpenSlidesApp.core'])
var STEPS = 5; var STEPS = 5;
$scope.scroll = 0; $scope.scroll = 0;
var setScroll = function (scroll) { var setScroll = function (scroll) {
scroll = 250 * scroll; scroll = -250 * scroll;
if ($scope.scrollTimeout) { if ($scope.scrollTimeout) {
$timeout.cancel($scope.scrollTimeout); $timeout.cancel($scope.scrollTimeout);
} }