mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix: 🐛 Allow also cmd key for all ctrl actions on mac
This commit is contained in:
parent
eca15f23d3
commit
8be4a5e151
9 changed files with 62 additions and 58 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue