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

Fix rounding of times when editing availability #180

Closed
dlemmermann opened this issue Sep 20, 2022 · 1 comment
Closed

Fix rounding of times when editing availability #180

dlemmermann opened this issue Sep 20, 2022 · 1 comment

Comments

@dlemmermann
Copy link
Collaborator

Currently the code for creating new availability entries performs a round-up when close to the lower grid line. It should always snap to the upper one (the cell).

@dlemmermann
Copy link
Collaborator Author

The "grid snapping" code is now more refined. When creating a new entry the code will always snap to the earlier time. While dragging the code will snap to the "closer" time, which is either the beginning or the end of the current grid "block".

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

No branches or pull requests

1 participant