Comments (2)
To implement this one could use this.mouseDownWorldPos
and this.mouseMoveWorldPos
adequately. You should calculate the offset amount between this.mouseDownWorldPos
and this.mouseMoveWorldPos
using diffPoints
function. Based on the offset, you could decide how much the grid should extend or shorten.
from dotting.
Closing this issue since the related PR has been merged
from dotting.
Related Issues (20)
- Expose `mouseDown` `mouseUp` `mouseMove` for users to manipulate
- Create an importable utilities file for separating internal functions and external functions
- Create a base template for `donwloadFile`
- Allow pan zoom to be adjusted to fit the grid canvas inside the canvas
- Optimize panning and zooming HOT 1
- Optimize performance for onmouseup after grid is changed
- Reduce dependency reliance for layers regarding data information
- Allow extension to continue when user extends beyond the bounds of the editor
- Allow painting with alpha value (transparency)
- Proposal: minimum grid scale parameter HOT 3
- Bug: selection not working with layers
- Feature request: allow assigning a different color to the right mouse button HOT 3
- Feature request: improve resizer
- Bug: addDataChangeListener constantly firing HOT 3
- Feature Request: allow dragging with middle mouse button / add drag tool
- Feature request: add additional tools, e.g. line drawing tools HOT 2
- Feature: Implement features for layer previews HOT 1
- Bug: resizing not working smoothly HOT 3
- Paint bucket currently only works if you drag the mouse after clicking
- useBrush to paint icons (SVG/PNG) to grid HOT 3
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 dotting.