collatzConjecture: fixing download button

dotLines: fixing controls
This commit is contained in:
Sheldan
2025-08-09 00:00:43 +02:00
parent 8c86e89470
commit 8a6e3b86df
3 changed files with 19 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
import {
docReady, getMousePos, pointDistance, roundedRandom
docReady, downloadCanvasWithoutButton, getMousePos, pointDistance, roundedRandom
} from "canvas-common";
@@ -166,4 +166,11 @@ docReady(function () {
});
function downloadCanvasDotlines() {
downloadCanvasWithoutButton('dotLines', canvas);
}
window.downloadCanvasCommon = downloadCanvasDotlines;
window.pause = pause;
window.showAll = showAll;