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

@ -81,7 +81,7 @@ function overviewRivers() {
}
function regenerateRiverName(event) {
if (!event.ctrlKey) return;
if (!isCtrlClick(event)) return;
const river = +this.parentNode.dataset.id;
const r = pack.rivers.find(r => r.i === river);
r.name = this.value = this.parentNode.dataset.name = Rivers.getName(r.mouth);