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

@ -194,7 +194,7 @@ function editProvinces() {
function provinceOpenCOA(event, p) {
const defSeed = `${seed}-p${p}`;
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.provinces[p].IAHG || defSeed);
if (newSeed && newSeed != defSeed) pack.provinces[p].IAHG = newSeed; else return;