You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the selection tool to drag a selection rectangle over some items, then drag the rectangle so that it no longer selects any items, then release the mouse button.
The expected result is that canvas.getSelectedElems() would return an empty array.
But this function actually returns an array that has no contents, but has a length set to the number of objects dragged over. From the console:
Use the selection tool to drag a selection rectangle over some items, then drag the rectangle so that it no longer selects any items, then release the mouse button.
The expected result is that canvas.getSelectedElems() would return an empty array.
But this function actually returns an array that has no contents, but has a length set to the number of objects dragged over. From the console:
Object.getOwnPropertyDescriptors(canvas.getSelectedElems())
length: {value: 4, writable: true, enumerable: false, configurable: false}
This manifests itself as a UI bug in the editor where action buttons are selected when they shouldn't be. Here's a video:
https://www.youtube.com/watch?v=cHw7ErNypno
The text was updated successfully, but these errors were encountered: