Files
mtdb_movie/common/resources/client/ui/interactions/active-interaction.ts
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01: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;
}