Comments (3)
Not enough information. Give more information about your environment and how does your code work. The plugin works perfectly.
from fabric-history.
Step 1: draw a vertical line:
Step 2: press UNDO:
Step 3: draw a horizontal line:
Step 4: press UNDO:
In step 4, I get the vertical line instead of a blank canvas, which I should get - so this is wrong.
from fabric-history.
Did you stop drawing after draw second line ? Fabricjs does not working like that. You have to stop drawing for getting the real history. Therefore, if you stop drawing (disable drawing mode, or add rectangle, or click different point of canvas) after draw second line the plugin will catch the history.
from fabric-history.
Related Issues (20)
- Uncaught TypeError: canvas.undo is not a function HOT 2
- Create an ability to store custom properties HOT 2
- Preserve selected objects on each state when undo/redo
- custom added properties are removed HOT 2
- [Bug] Undo after first drawing on a Canvas with background image set not working properly HOT 2
- Non-Selectable objects still get selectable eventually HOT 2
- Insufficient Granularity of Access Control in JSDom - https://github.com/advisories/GHSA-f4c9-cqv8-9v98 HOT 2
- Clear canvas isn't part of the history HOT 3
- Undo/Redo functions are removing 2 objects at same time HOT 2
- Undo after setting scaled background image ends in white space in the right corner.
- Keep objects selected after undo/redo
- when load from json it removes all items on undo but I want initial json HOT 2
- Type definition HOT 2
- Fabric v6 support HOT 2
- Skip Action to become part of history HOT 1
- Could Undo Redo with Erasing? HOT 3
- Undo Redo remove my object's attributes HOT 2
- Is there a way to exclude some object saving in history? HOT 2
- Multiple canvases: managing history undo and redo
- Makes browser to crash.
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 fabric-history.