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.coordinate display selectors #551

Closed

Conversation

jneen
Copy link

@jneen jneen commented May 30, 2020

Implements #550 .

Adds x:<number> and y:<number> as valid display selectors, which will indicate a display based on its horizontal or vertical position.

For now the numbers must be positive.

http://jneen.net/ added 5 commits May 30, 2020 15:45
these will always order the displays by the x or y coordinate of their
centre point.
if an invalid index creeps through, returning 0 just means all elements
will be considered equal.
and fix an off-by-one error that was causing the last element to not be
included in the sort
@koekeishiya
Copy link
Owner

As mentioned in the original issue, I'm not a fan of the kind of selector this implements and so I'll be closing this one.

@koekeishiya koekeishiya closed this Jun 8, 2020
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

Successfully merging this pull request may close these issues.

2 participants