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

ノートをドラッグ移動する処理の際に上下への境界チェック処理を入れる #1975

Merged

Conversation

madosuki
Copy link
Contributor

@madosuki madosuki commented Apr 3, 2024

内容

cursorNoteNumberをチェックして境界を越えないようにします.

関連 Issue

close #1959

スクリーンショット・動画など

その他

@madosuki madosuki requested a review from a team as a code owner April 3, 2024 08:30
@madosuki madosuki requested review from Hiroshiba and removed request for a team April 3, 2024 08:30
@madosuki madosuki changed the title ノートをドラッグ移動処理の際に上下への境界チェック処理を入れる ノートをドラッグ移動する処理の際に上下への境界チェック処理を入れる Apr 3, 2024
@sevenc-nanashi
Copy link
Member

VOICEVOX.-.Ver.999.999.999.-.Google.Chrome.2024-04-04.15-00-58.mp4

ちょっと試してましたが、これでも限界突破できそうですね...
cursorNoteNumberと、ノートの最大/最小の高さを確認してもいいかも。

@madosuki
Copy link
Contributor Author

madosuki commented Apr 4, 2024

なるほど矩形選択モードを失念しておりました.
既にあった左端境界チェックと同じところで各noteNumberをチェックする処理に変更しました.

Copy link
Member

@sevenc-nanashi sevenc-nanashi left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

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

LGTM!!

修正ありがとうございます!!

@Hiroshiba Hiroshiba merged commit 4947291 into VOICEVOX:main Apr 26, 2024
9 checks passed
sevenc-nanashi pushed a commit to sevenc-nanashi/voicevox that referenced this pull request Apr 28, 2024
* add check to boundary of score

* delete line

* change a value referenced to check boundary

* fix overlook case of select rect mode

* Apply suggestions from code review

---------

Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
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.

ソング:ノートを画面外の音域(C10やB-2)に移動できてしまう
3 participants