Преглед на файлове

🐛 Remove timer stopping on mouse released

Pedro Schneider преди 3 години
родител
ревизия
2a19a96e5c
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      src/sketch.js

+ 0 - 5
src/sketch.js

@@ -28,11 +28,6 @@ class TestButton extends Button
     {
         this.getParent().getChildByName("myTimer").start();
     }
-
-    _onMouseReleased()
-    {
-        this.getParent().getChildByName("myTimer").stop();
-    }
 }
 
 function preload()