mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
geogen release
This commit is contained in:
parent
9aa369b6df
commit
edb0cb820d
7 changed files with 2056 additions and 0 deletions
|
|
@ -211,6 +211,8 @@ document.addEventListener("keydown", function(event) {
|
|||
if (key === 118) regenerateMap(); // "F7" for new map
|
||||
else if (key === 27) {closeDialogs(); hideOptions();} // Escape to close all dialogs
|
||||
else if (key === 9) {toggleOptions(event); event.preventDefault();} // Tab to toggle options
|
||||
else if (shift && key === 79) saveGeo("osm"); // Shift + "O" to save as OSM
|
||||
else if (shift && key === 74) saveGeo("json"); // Shift + "J" to save as JSON
|
||||
else if (ctrl && key === 80) saveAsImage("png"); // Ctrl + "P" to save as PNG
|
||||
else if (ctrl && key === 83) saveAsImage("svg"); // Ctrl + "S" to save as SVG
|
||||
else if (ctrl && key === 77) saveMap(); // Ctrl + "M" to save MAP file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue