Browse Source

🐛 Remove timer stopping on mouse released

Pedro Schneider 3 năm trước cách đây
mục cha
commit
2a19a96e5c
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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()