mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-17 07:40:21 -07:00
- Reset hinted buttons on reset
This commit is contained in:
parent
9a4a81c78b
commit
4732469b64
@ -554,6 +554,11 @@ class CanvasController {
|
||||
this.activatePreview();
|
||||
this.imageUrl = null;
|
||||
this.controls.classList.remove('hidden');
|
||||
|
||||
// Reset hinted button
|
||||
for (let elem of document.getElementsByClassName("hint")) {
|
||||
elem.classList.remove("hint");
|
||||
}
|
||||
}
|
||||
makePbm() {
|
||||
let blob = mono2pbm(this.previewData, this.preview.width, this.preview.height);
|
||||
|
Loading…
x
Reference in New Issue
Block a user