File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -131,23 +131,6 @@ export type PreviewMode =
131131 | "SELECT_NOTES_WITH_RECT"
132132 | "EDIT_NOTE_LYRIC" ;
133133
134- // マウスダウン時の振る舞い
135- export const mouseDownBehaviorSchema = z . enum ( [
136- "IGNORE" ,
137- "DESELECT_ALL" ,
138- "ADD_NOTE" ,
139- "START_RECT_SELECT" ,
140- "DRAW_PITCH" ,
141- "ERASE_PITCH" ,
142- ] ) ;
143- export type MouseDownBehavior = z . infer < typeof mouseDownBehaviorSchema > ;
144-
145- // ダブルクリック時の振る舞い
146- export const mouseDoubleClickBehaviorSchema = z . enum ( [ "IGNORE" , "ADD_NOTE" ] ) ;
147- export type MouseDoubleClickBehavior = z . infer <
148- typeof mouseDoubleClickBehaviorSchema
149- > ;
150-
151134export function getButton ( event : MouseEvent ) : MouseButton {
152135 // macOSの場合、Ctrl+クリックは右クリック
153136 if ( isMac && event . button === 0 && event . ctrlKey ) {
You can’t perform that action at this time.
0 commit comments