[1.1.76] Mac + AZERTY: undo closes game
Moderator: ickputzdirwech
Re: [1.1.76] Mac + AZERTY: undo closes game
Actually, this looks more like a suggestion for a suboptimal design, rather than a bug.
[Koub] Moving this to Ideas and suggestions for now.
Can't reproduce anything similar with my Windows PC, the default shortcut for undo undoes without quitting. Must be a Mac thing.
[Koub] Moving this to Ideas and suggestions for now.
Can't reproduce anything similar with my Windows PC, the default shortcut for undo undoes without quitting. Must be a Mac thing.
Koub - Please consider English is not my native language.
Re: [1.1.76] Mac + AZERTY: undo closes game
Implemented for 1.1.78
There are special default valus for AZERTY keyboards, as Z is move up and on PC with QWERTY layout the undo defaults to Ctrl + Z, which is reasonable combination of keys to press during normal gameplay (move up & ctrl + click things to transfer stacks of items). So, default shortcut for Undo is Ctrl + W when AZERTY layout is detected, to prevent accidental undos. Since on macOS Cmd + W is OS shortcut to close the front window and Cmd + Z doesn't seem to collide with the normal gameplay, I disabled this special AZERTY behavior on macOS builds.
There are special default valus for AZERTY keyboards, as Z is move up and on PC with QWERTY layout the undo defaults to Ctrl + Z, which is reasonable combination of keys to press during normal gameplay (move up & ctrl + click things to transfer stacks of items). So, default shortcut for Undo is Ctrl + W when AZERTY layout is detected, to prevent accidental undos. Since on macOS Cmd + W is OS shortcut to close the front window and Cmd + Z doesn't seem to collide with the normal gameplay, I disabled this special AZERTY behavior on macOS builds.
Re: [1.1.76] Mac + AZERTY: undo closes game
Thanks, you guys are awesome