Files
mtdb_movie/common/resources/client/ui/interactions/active-interaction.ts
T
maher 511fad8199
Build / run (push) Has been cancelled
Initial commit
2026-05-14 13:42:10 +02:00

8 lines
217 B
TypeScript
Executable File

type InteractionName = null | 'resize' | 'rotate' | 'drag' | 'move';
export let activeInteraction: InteractionName = null;
export function setActiveInteraction(name: InteractionName) {
activeInteraction = name;
}