You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for this library, it has been really awesome to use such a powerful tool instead of interacting directly with the HTML5 canvas.
The following is a question. This library has worked amazingly well with mouse movements, but i am now trying to port the logic over to touch screen interfaces. Unfortunately, the pressmove touch event does not seem to be bubbling up properly. I can use stagemousedown and stagemouseup events though, so it's just the 'straffing' of the finger that is not captured at the moment
I found 2 similar reported issues this and this but they do not work for me
Describe whats happening (Include any relevant console errors, a Gist is preferred for longer errors):
When trying to use the 'pressmove' event listener forthis.scene = new createjs.Stage(canvas)it does not seem to work. This is after setting createjs.Touch.enable(this.scene). This is part of ROS to visualise map images on a HTML5 canvas using the creatjs library. The ROS library is found here: https://github.com/RobotWebTools/ros2djs/blob/develop/build/ros2d.js
OS & Browser version (Please be specific) (Ex; Windows 10 Home, Chrome 62.0.3202.94):
Version 96.0.4664.110 (Official Build) (64-bit)
Provide any extra details that will help us fix your issue. Including a link to a CodePen.io or JSFiddle.net example that shows the issue in isolation will greatly increase the chance of getting a quick response.
I have been trying with this example https://createjs.com/tutorials/Mouse%20Interaction/stage.html. Mouse interactions work but touch does not. I understand that this is part of the 'mouse interaction' page, but I have been trying to adapt the code locally to work with touch but to no avail
The text was updated successfully, but these errors were encountered:
Thanks so much for this library, it has been really awesome to use such a powerful tool instead of interacting directly with the HTML5 canvas.
The following is a question. This library has worked amazingly well with mouse movements, but i am now trying to port the logic over to touch screen interfaces. Unfortunately, the
pressmove
touch event does not seem to be bubbling up properly. I can usestagemousedown
andstagemouseup
events though, so it's just the 'straffing' of the finger that is not captured at the momentI found 2 similar reported issues this and this but they do not work for me
Describe whats happening (Include any relevant console errors, a Gist is preferred for longer errors):
When trying to use the 'pressmove' event listener for
this.scene = new createjs.Stage(canvas)
it does not seem to work. This is after settingcreatejs.Touch.enable(this.scene)
. This is part of ROS to visualise map images on a HTML5 canvas using the creatjs library. The ROS library is found here: https://github.com/RobotWebTools/ros2djs/blob/develop/build/ros2d.jsOS & Browser version (Please be specific) (Ex; Windows 10 Home, Chrome 62.0.3202.94):
Version 96.0.4664.110 (Official Build) (64-bit)
Provide any extra details that will help us fix your issue. Including a link to a CodePen.io or JSFiddle.net example that shows the issue in isolation will greatly increase the chance of getting a quick response.
I have been trying with this example https://createjs.com/tutorials/Mouse%20Interaction/stage.html. Mouse interactions work but touch does not. I understand that this is part of the 'mouse interaction' page, but I have been trying to adapt the code locally to work with touch but to no avail
The text was updated successfully, but these errors were encountered: