mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Added Swiper drawing
This commit is contained in:
parent
cf2182676b
commit
1e233efbea
6 changed files with 85 additions and 7 deletions
|
|
@ -104,7 +104,6 @@ function (Parent, KeyboardInput, DomController, Settings, Swiper) {
|
|||
|
||||
canvas.onmouseup = function(e) {
|
||||
if(self.swiper) {
|
||||
console.log(e)
|
||||
var xya = self.swiper.swipeEnd(e.x, e.y);
|
||||
self.playerController.handActionRequest(xya.x, xya.y);
|
||||
self.swiper = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue