Commit 87c34bd1 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸
Browse files

updated transition speed

parent bf148174
......@@ -222,12 +222,12 @@ var L;
transitionButton.onclick = function () {
switch (transitionSpeed) {
case 1:
transitionSpeed = 2;
break;
case 2:
transitionSpeed = 4;
break;
case 4:
transitionSpeed = 8;
break;
case 8:
transitionSpeed = 1;
break;
}
......
......@@ -246,12 +246,12 @@ export class Player extends L.Control {
transitionButton.onclick = function() {
switch (transitionSpeed) {
case 1:
transitionSpeed = 2;
break;
case 2:
transitionSpeed = 4;
transitionSpeed = 4;
break;
case 4:
transitionSpeed = 8;
break;
case 8:
transitionSpeed = 1;
break;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment