summaryrefslogtreecommitdiff
path: root/js/index.js
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-12-02 00:10:52 -0800
committerFuwn <[email protected]>2025-12-02 00:10:52 -0800
commit61f1624a14f80b416c530cbb82e430302d12bda3 (patch)
treebd7a6a4e0b6d86c8fe84b3949662f9059750f783 /js/index.js
parentfeat(index.html): Remove introduction (diff)
downloadrysk-61f1624a14f80b416c530cbb82e430302d12bda3.tar.xz
rysk-61f1624a14f80b416c530cbb82e430302d12bda3.zip
fix(analysis.js): Improve analysis engine
Diffstat (limited to 'js/index.js')
-rw-r--r--js/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/index.js b/js/index.js
index 0bc87ea..3881d38 100644
--- a/js/index.js
+++ b/js/index.js
@@ -252,6 +252,8 @@ if (gradingToggle) {
let render = () => {
analysis.resetToImage();
+ // Reset watermark flag for new frame
+ ctx._watermarkDrawn = false;
for (let i of Object.values(analysis.criteria)) {
if (i.toggle.checked) {
i.analysis.draw(ctx);