mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
collect statistics for a short period
This commit is contained in:
parent
b3e0d5e7b1
commit
83fa6a13e6
7 changed files with 48 additions and 866 deletions
|
|
@ -665,7 +665,7 @@ function restoreDefaultOptions() {
|
|||
// Sticked menu Options listeners
|
||||
document.getElementById("sticked").addEventListener("click", function (event) {
|
||||
const id = event.target.id;
|
||||
if (id === "newMapButton") regeneratePrompt();
|
||||
if (id === "newMapButton") regeneratePrompt("sticky button");
|
||||
else if (id === "saveButton") showSavePane();
|
||||
else if (id === "exportButton") showExportPane();
|
||||
else if (id === "loadButton") showLoadPane();
|
||||
|
|
@ -931,8 +931,9 @@ function enterStandardView() {
|
|||
}
|
||||
|
||||
async function enter3dView(type) {
|
||||
const canvas = document.createElement('canvas');
|
||||
canvas.id = 'canvas3d';
|
||||
track("click", `3d mode: ${type}`);
|
||||
const canvas = document.createElement("canvas");
|
||||
canvas.id = "canvas3d";
|
||||
canvas.dataset.type = type;
|
||||
|
||||
if (type === 'heightmap3DView') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue