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
Explained in the JSFiddles above (reproduction depends on which way the code is written).
Expected Behavior
When using Object.isOnScreen and Canvas.remove to remove objects outside the canvas bounds, objects in a multiselection should be removed when dragged outside canvas bounds.
Actual Behavior
When using Object.isOnScreen and Canvas.remove to remove objects outside the canvas bounds, objects in a multiselection will either unexpectedly disappear or not be removed at all. See test cases above.
The text was updated successfully, but these errors were encountered:
acdvs
changed the title
Objects in multiselection not being removed in certain cases
Object corner points in multiselection not calculated correctly
Jan 23, 2021
After further investigation it looks like this is a problem with the underlying coordinate calculation and not the Object.isOnScreen method itself. Updating the issue to reflect this.
yes object in multi selections have the 4 main corners relative to the group they are in, isOnScreen could have a slower path to take that into account
Version
4.3.0
Test Cases
https://jsfiddle.net/b20puesy/
https://jsfiddle.net/24a35vtj/
Information about environment
Latest Chrome and JSFiddle
Steps to reproduce
Explained in the JSFiddles above (reproduction depends on which way the code is written).
Expected Behavior
When using
Object.isOnScreen
andCanvas.remove
to remove objects outside the canvas bounds, objects in a multiselection should be removed when dragged outside canvas bounds.Actual Behavior
When using
Object.isOnScreen
andCanvas.remove
to remove objects outside the canvas bounds, objects in a multiselection will either unexpectedly disappear or not be removed at all. See test cases above.The text was updated successfully, but these errors were encountered: