update
This commit is contained in:
@@ -4,6 +4,7 @@ import type { IconName } from "@/ui/Widgets/Icon/icons";
|
||||
export const TypeClasses = [ "Ghost", "Accent" ] as const;
|
||||
|
||||
export const StickingTypeIconMap = {
|
||||
none: null,
|
||||
lf: 'lf',
|
||||
lh: 'lh',
|
||||
rf: 'rf',
|
||||
@@ -17,7 +18,7 @@ export const TrackUnitTypeClassMap = {
|
||||
"GhostNoteAccent": ["Ghost", "Accent"],
|
||||
} as const satisfies Record<TrackUnitType, Readonly<string[]>>;
|
||||
|
||||
export function getClasses(options: { on: boolean, stickingType: TrackUnitStickingType | null, type: TrackUnitType, highlightable?: boolean }) {
|
||||
export function getClasses(options: { on: boolean, stickingType: TrackUnitStickingType, type: TrackUnitType, highlightable?: boolean }) {
|
||||
const classes = ["track-unit"];
|
||||
if (options.on) {
|
||||
classes.push("on");
|
||||
|
||||
Reference in New Issue
Block a user