Selaa lähdekoodia

Tweaks for new rotor order

s2224834 6 vuotta sitten
vanhempi
commit
934356dea8
3 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 0 1
      src/core/lib/Enigma.mjs
  2. 1 1
      src/core/operations/Bombe.mjs
  3. 1 1
      src/core/operations/Enigma.mjs

+ 0 - 1
src/core/lib/Enigma.mjs

@@ -25,7 +25,6 @@ export const ROTORS = [
 ];
 
 export const ROTORS_FOURTH = [
-    {name: "None", value: ""},
     {name: "Beta", value: "LEYJVCNIXWPBQMDRTAKZGFUHOS"},
     {name: "Gamma", value: "FSOKANUERHMBTIYCWLQPZXVGJD"},
 ];

+ 1 - 1
src/core/operations/Bombe.mjs

@@ -44,7 +44,7 @@ class Bombe extends Operation {
                 ]
             },
             {
-                name: "Left-most rotor",
+                name: "Left-most (4th) rotor",
                 type: "editableOption",
                 value: ROTORS_FOURTH,
                 defaultIndex: 0

+ 1 - 1
src/core/operations/Enigma.mjs

@@ -42,7 +42,7 @@ class Enigma extends Operation {
                 ]
             },
             {
-                name: "Left-most rotor",
+                name: "Left-most (4th) rotor",
                 type: "editableOption",
                 value: ROTORS_FOURTH,
                 defaultIndex: 0