Parcourir la source

🐛 Remove timer stopping on mouse released

Pedro Schneider il y a 3 ans
Parent
commit
2a19a96e5c
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  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()