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
When set position or zoom will notifyListeners immediately,But I want to be more flexible with Matrix4, Please support 【set transformMatrix(Matrix4 value)】 for Transform2D
Proposal
set transformMatrix(Matrix4 value) {
_transformMatrix = value.clone();
notifyListeners();
}
More information
No response
Other
Are you interested in working on a PR for this?
The text was updated successfully, but these errors were encountered:
Hi, I've taken an interest in this issue and I'd like to be assigned to it if that's alright.
Seems like adding set transformMatrix would be usefull, but the need to update some attributes like _position results in listeners being notified a few times which undermines part of the issue.
This could be solved by adding a new boolean into the class which is only set to true when set transformMatrix is updating these variables and doesn't let _markAsModified run notifyListeners during that time. I'd understand if this solution feels too encroaching though.
Problem to solve
When set position or zoom will notifyListeners immediately,But I want to be more flexible with Matrix4, Please support 【set transformMatrix(Matrix4 value)】 for Transform2D
Proposal
set transformMatrix(Matrix4 value) {
_transformMatrix = value.clone();
notifyListeners();
}
More information
No response
Other
The text was updated successfully, but these errors were encountered: