Feature #3989
closedWGLWidget setClientSideLookAtHandler feature request
Description
Please make WGLWidget's setClientSideLookAtHandler to work with touch events as well apart from mouse events.
Increasing number of website are designed 'responsive' considering ever increasing number of people using mobile devices. Current implementation of setClientSideLookAtHandler does not respond to touch event. It will be extremely helpful if it works with touch events as well.
Thanks!
Updated by Wim Dumon over 9 years ago
Hello,
I believe this is available in 3.3.4?
However we just noticed a typo in the implementation. In src/js/WGLWidget.js, functions touchEnd and touchMoved, around line 277, replace 'mouseWheel' by 'mouseHandler'.
Best regards,
Wim.
Updated by Prasad Dixit over 9 years ago
I was able to spot the lines that needs to be modified when I download the source code. However, I don't see any src/js folder when I use the binary build (Wt-3.3.4-msvs2013-Windows-x86-SDK.exe)
Will I need to build from the source code myself to get it to work? When I tested, touch events were not working in 3.3.4 binary builds.
Updated by Wim Dumon over 9 years ago
That's correct, Wt needs to be recompiled to make the adjustments to the .js files. Also, Wt uses the .min.js files, a minified version of the .js file. You will either need to minify the .js file, or simply copy the unminified .js file to .min.js.
Wim.
Updated by Prasad Dixit over 9 years ago
Okay Wim, thank you for the clarification.
Do you know if Wt will release any patch to 3.3.4 anytime soon (say within next couple of months) addressing known bugs?
Updated by Wim Dumon over 9 years ago
Our target is to release about 4 Wt versions per year, there are no concrete plans yet for the next Wt release.
Wim.
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed