-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove object shape tool #16
Comments
The Thanks a lot. |
That is what I am doing but it does not work. If you have only one shape and remove it then the startDrawingShapeMode() does not work anymore. You can see this in your demo. click shape |
I could reproduce what you said. OK I can handle that problem in demo page. |
This problem was solved. The patch will be included in the next version. |
Can you share the details of the fix? When is the next version going to be released? |
Below code [imageEditor.js] /**
* End current action & Deactivate
* @example
* imageEditor.startFreeDrawing();
* imageEidtor.endAll(); // === imageEidtor.endFreeDrawing();
*
* imageEditor.startCropping();
* imageEditor.endAll(); // === imageEidtor.endCropping();
*/
endAll() {
this.endTextMode();
this.endFreeDrawing();
this.endLineDrawing();
this.endCropping();
this.endDrawingShapeMode();
this.deactivateAll();
this._state = states.NORMAL;
} And we are planning to release the next version at the end of this month. |
Shape tool is no longer available after removing the last shape.
This also happens if I select the shape object and select delete on the keyboard. ( I suspect they both take the same code path - to removeActiveObject() )
I'm not sure where to look to debug this?
The text was updated successfully, but these errors were encountered: