-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composite recalculates it's size wrong when items are rotated #165
Comments
not only, we had issues with composite recalculation not taking in account transformations, which I think @gevorg-kopalyan have gixed, but I am not sure if he have made a PR. @gevorg-kopalyan can you confirm? |
Yeah the fix with transforms is there, but as David mentioned, it only updates Follower box on click, which is an issue on Follower part I guess. |
Ah right, I remember now. So the issue is a bit more complex. There are more scenarios this can go bad. But besides that. |
So this, FollowersUIMediator.java listens to ITEM_DATA_UPDATED which is fine. Now somehow I guess when you edit composite and go up, this does not happen beacause while you are inside composite the follower for parent composite doesnot yet exist, and when you go one step up it auto sets, if I remember correctly, maybe somewhere there it should update. I am not sure in exact steps to reproduce, but I hope this helps. |
I'm working on fixing similar issues with polygon editing. (this might get fixed along the way, too) I was hoping you could share with me where the transform and dimensions components are rendered. Also, for polygons (basic primitives) where the color fill is rendered (currently I have the outlines working, but the color fill sometimes detaches) |
well the components don't get "rendered" what happens is, each item type, has it's own "Draw" logic: the polygon's are currently just a modifiers of simple images, so thei get rendered in textureregion rendering logic at this moment. Each render logic can take any component from the mappers in order to know what and how to render. |
issues fixed |
No description provided.
The text was updated successfully, but these errors were encountered: