Skip to content
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

[4] Added rotate tool and selection box tool #1250

Merged
merged 8 commits into from
Apr 16, 2023

Conversation

LeonMontealegre
Copy link
Member

@LeonMontealegre LeonMontealegre commented Apr 6, 2023

Most of their implementations are copied from how they have been

Changed how InputAdapter works, so that instead of constructing it once and then setting up/tearing down on it, instead construct it to set it up and then tear it down when necessary and re-construct it to set it up again. Removes need to ! every access of canvas in the InputAdapter, and also removes need to have an optional instance of it in CircuitDesigner, instead it's just held locally.
This does come at the cost of not having an explicit tearDown method anymore on CircuitDesigner and instead needing to use the callback tearDown.

@LeonMontealegre LeonMontealegre changed the title Add rotate tool and selection box tool Added rotate tool and selection box tool Apr 6, 2023
@LeonMontealegre LeonMontealegre changed the title Added rotate tool and selection box tool [4] Added rotate tool and selection box tool Apr 6, 2023
Copy link
Contributor

@KevinMackenzie KevinMackenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor thing.

@LeonMontealegre LeonMontealegre changed the base branch from model_refactor_api_tools3 to model_refactor_api April 16, 2023 03:02
TGCrystal
TGCrystal previously approved these changes Apr 16, 2023
@LeonMontealegre LeonMontealegre merged commit 4311093 into model_refactor_api Apr 16, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants