Merge pull request #3135 from emanuelschuetze/projector-scroll-direction
Switch projector scroll direction
This commit is contained in:
commit
5cd3b73725
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user