瀏覽代碼

🐛 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()