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

Feature: accelerators to move ports (counter)clockwise #189

Closed
andrewschultz opened this issue Nov 13, 2015 · 1 comment
Closed

Feature: accelerators to move ports (counter)clockwise #189

andrewschultz opened this issue Nov 13, 2015 · 1 comment
Milestone

Comments

@andrewschultz
Copy link
Contributor

If we have a connector highlighted, it would be nice to be able to move it around. Like #188, I want to make sure it's sensible before writing up any code.

I like the idea of ctrl-[ for counterclockwise and ctrl-] for clockwise for one of the connectors.

ctrl-alt-[ and ctrl-alt-] could move the other one (counter)clockwise.

Initially, we could just pick the "from" connector as the one that gets ctrl-[, to make sure it works. If the user picks wrong, they user could just push the other one to undo things easily. That would be a proof of concept, but I don't know if it's merge-able code.

I think the algorithm to decide which room doesn't need ALT would simply be

  1. whichever is farther north (its center)
  2. whichever is farther west (its center) (e.g. in writing order)

This wouldn't be too bad to add, but I'm listing how I would go about doing things.

Additionally, we will trust the user not to make too many overlapping rooms or whatever.

andrewschultz added a commit to andrewschultz/trizbort that referenced this issue Nov 14, 2015
andrewschultz added a commit to andrewschultz/trizbort that referenced this issue Nov 18, 2015
andrewschultz added a commit to andrewschultz/trizbort that referenced this issue Nov 20, 2015
JasonLautzenheiser added a commit that referenced this issue Nov 25, 2015
@JasonLautzenheiser
Copy link
Owner

This works pretty nicely actually as implemented in pull request #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants