-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Notes created at wrong location #30
Labels
Comments
Thanks, you right, I will investigate this to night |
mr21
added a commit
to gridsound/gs-ui-components
that referenced
this issue
Dec 9, 2017
mr21
added a commit
to gridsound/gs-ui-components
that referenced
this issue
Dec 9, 2017
Thanks again :) it will be online soon |
mr21
added a commit
to gridsound/gs-ui-components
that referenced
this issue
Apr 5, 2019
mr21
added a commit
to gridsound/gs-ui-components
that referenced
this issue
Apr 5, 2019
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
It's offset by half a cell when creating notes.
And also when resizing notes, but in that case it's reasonable.
So you could give
_getMouseBeat
a parameter, or split it into two functions,one to give you the nearest position (with
round
), and you to give the cell (withfloor
),maybe
_getBeatNearestToMouse
and_getBeatForCellUnderMouse
The text was updated successfully, but these errors were encountered: