0.2.3: Fixed clock deletion issue with ghosted scheduler

This commit is contained in:
MatCat 2021-02-21 14:56:08 -08:00
parent 461cd60678
commit f6e368507d
3 changed files with 9 additions and 1 deletions

View File

@ -12,6 +12,9 @@ To be decided, but at this moment this code is open source and free to use for n
## Changelog
### 0.2.3
* Fixed bug where timer isn't removed when clock is deleted
### 0.2.2
* Fixed freaking out inputs on some input values
* Quadratic CURVES! Links now look MUCH nicer :)

View File

@ -408,6 +408,11 @@ class ClockElement extends Element {
}
}
Delete() {
super.Delete();
this.LogicEngine.Scheduler.deleteTask(this.Task);
}
getOutput() {
return this.Output;
}

View File

@ -2,7 +2,7 @@
MatCat BrowserLogic Simulator
*/
let Version = "0.2.2";
let Version = "0.2.3";
let spanVersion = document.getElementById("version");
spanVersion.innerText = Version;
// get the canvas and get the engine object going