fix: 🐛 Allow also cmd key for all ctrl actions on mac

This commit is contained in:
Marc Emmanuel 2020-01-04 13:10:44 +01:00
parent eca15f23d3
commit 8be4a5e151
9 changed files with 62 additions and 58 deletions

View file

@ -308,7 +308,7 @@ function editStates() {
function stateOpenCOA(event, state) {
const defSeed = `${seed}-s${state}`;
if (event.ctrlKey) {
if (isCtrlClick(event)) {
const newSeed = prompt(`Please provide an Iron Arachne Heraldry Generator seed. `+
`Default seed is a combination of FMG map seed and province id (${defSeed})`, pack.states[state].IAHG || defSeed);
if (newSeed && newSeed != defSeed) pack.states[state].IAHG = newSeed; else return;