()
| 126 | this.update(); |
| 127 | } |
| 128 | update() { |
| 129 | render.begin(this.bounds.x, this.bounds.y, this.bounds.w, this.bounds.h); |
| 130 | this.draw(); |
| 131 | render.end(); |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | let dragger = new Dragger((render.width - button.width) >> 1, (render.height - (button.height >> 1)) >> 1, "Drag Me", button); |
no test coverage detected