Comments (5)
Oh, very nice! Yes, absolutely - that seems like a good fit!
from touch-vtt.
Hmm.. I started merging my code, and I ended up with a bit more of change than I expected. When testing your code, I found out that it didn't work with a stylus.
I've been able to get it to work by changing your bound events from touch to pointer, (and some rejiggering to get pinch zoom to work again). Do you want this as two separate PRs, or one just one?
from touch-vtt.
Whatever works best for you. A single PR is fine too.
from touch-vtt.
PR is merged and regarding issues are solved. This feature will be in the next release.
from touch-vtt.
Released as v1.2.1
from touch-vtt.
Related Issues (20)
- Mouse must hover on canvas for single-touch actions to work HOT 1
- Zoom/Pan 2-finger always enabled
- Conflict with single finger panning in Windows HOT 1
- Allow dragging items HOT 1
- Feature Request: (player) Button or Config setting to Disable Pan/Zoom on own screen
- drag ruler incompatible
- turn windows on canvas
- Hide rotation arrows in HUD for tokens with Lock Rotation
- Incompatibility with 'Dice So Nice' HOT 2
- Right-Clicking via long-press doesn't work for Gamemasters HOT 2
- Camera View bug and feature request HOT 1
- Enhancement - Remove camera overlays HOT 1
- Foundry V10 Compatibility HOT 9
- Delete tokens
- Ping in touch mode HOT 1
- Can't drag items to canvas, like a mob or player avatar
- Touch-vtt seems to break Token action HUD on surface 8 HOT 5
- Request: Individual user setting to disable HOT 1
- can't pause/unpause in touch mode HOT 2
- Panning or Zooming on the Canvas is very jittery. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from touch-vtt.