Skip to content

Conversation

@sigprogramming
Copy link
Collaborator

内容

editNotesToolIdleStateのupdateCursorStateを修正します。

関連 Issue

その他

@sigprogramming sigprogramming requested a review from a team as a code owner February 12, 2025 10:46
@sigprogramming sigprogramming requested review from Hiroshiba and removed request for a team February 12, 2025 10:46
@sigprogramming sigprogramming changed the title [project-sequencer-statemachine] editNotesToolIdleStateのupdateCursorStateを修正 fix: [project-sequencer-statemachine] editNotesToolIdleStateのupdateCursorStateを修正 Feb 12, 2025
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!!

Comment on lines +110 to +111
isCommandOrCtrlKeyDown: boolean,
isShiftKeyDown: boolean,
Copy link
Member

Choose a reason for hiding this comment

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

ここ、仮に関数呼ぶときに逆にしてしまっていてもコンパイルエラーが出ないので、paramsにして引数名を与えないといけない形にしても良いかもですね!
関数呼ぶときちょっと不格好になりますが、
isCommandOrCtrlKeyDown: context.isShiftKeyDown.value
みたいに対応取れてない指定をしたときにすぐ気付ける・・・・・かも!

(勝手に変えさせていただこうかなと思いましたが、updateCursorStateはここ以外にも何箇所かあって方針迷ったので一旦そのままにさせていただきました!)

@Hiroshiba Hiroshiba merged commit 2ca944e into VOICEVOX:project-sequencer-statemachine Feb 15, 2025
10 checks passed
@sigprogramming sigprogramming deleted the fix_update_cursor_state branch February 16, 2025 09:35
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