Switch projector scroll direction
- button 'arrow down': moves the visible part of the projector down (forward = text scrolls from bottom to top) - button 'arrow up': moves the visible part of the projector up (backward = text scrolls from top to bottom) Reverts change from #3094.
This commit is contained in:
parent
f34c24947a
commit
57025b9792
@ -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