mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-16 08:58:30 +01:00
Fixed timings for Bombe animation fast rotor
This commit is contained in:
parent
dd9cbbac77
commit
4db6199fd9
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
const bbox = rotor.getBBox();
|
||||
const x = bbox.width/2 + bbox.x;
|
||||
const y = bbox.height/2 + bbox.y;
|
||||
const wait = row === 0 ? speed/26 : row === 1 ? speed : speed*26;
|
||||
const wait = row === 0 ? speed/26/1.5 : row === 1 ? speed : speed*26;
|
||||
|
||||
rotor.setAttribute("transform", "rotate(" + startPos + ", " + x + ", " + y + ")");
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
|||
break;
|
||||
}
|
||||
}
|
||||
}, speed/26 - 5);
|
||||
}, speed/26/1.5 - 5);
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
|
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Loading…
Reference in a new issue