Skip to content

Commit 287c69d

Browse files
使われていない型を削除
1 parent bfbd2e0 commit 287c69d

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/sing/viewHelper.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff 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-
151134
export function getButton(event: MouseEvent): MouseButton {
152135
// macOSの場合、Ctrl+クリックは右クリック
153136
if (isMac && event.button === 0 && event.ctrlKey) {

0 commit comments

Comments
 (0)