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
I found that when the selection is updated (change from one selection to another, rather than unselected to selected), the property panel on the right is not updated, which will cause the canvas's property settings to fail to achieve the expected effect. After reading the source code, I learned that Fabric.js does not divide the selection update event into two events (selection clear and selection creation), but sends (selection:updated) event to notify the developer that the selection has changed , So just listening (selection:cleared and object:selected) should not be enough.
The text was updated successfully, but these errors were encountered:
I found that when the selection is updated (change from one selection to another, rather than unselected to selected), the property panel on the right is not updated, which will cause the canvas's property settings to fail to achieve the expected effect. After reading the source code, I learned that Fabric.js does not divide the selection update event into two events (selection clear and selection creation), but sends (
selection:updated
) event to notify the developer that the selection has changed , So just listening (selection:cleared
andobject:selected
) should not be enough.The text was updated successfully, but these errors were encountered: