RemoveTool to use splice#1509
RemoveTool to use splice#1509fizdalf wants to merge 2 commits intotextAngular:masterfrom fizdalf:master
Conversation
|
Also fixed add tool function, it was swapping the last tool in the toolbar group, instead of adding it. |
|
Hi! Huge thanks for the PR! |
|
I didn't see the issues created but I've found the bugs when experimenting with adding and removing tools. This PR should fix two issues:
|
The removeTool function..should remove the tool from the array, but right now it's using slice, that doesn't modify the array,