7
common/resources/client/ui/interactions/active-interaction.ts
Executable file
7
common/resources/client/ui/interactions/active-interaction.ts
Executable file
@@ -0,0 +1,7 @@
|
||||
type InteractionName = null | 'resize' | 'rotate' | 'drag' | 'move';
|
||||
|
||||
export let activeInteraction: InteractionName = null;
|
||||
|
||||
export function setActiveInteraction(name: InteractionName) {
|
||||
activeInteraction = name;
|
||||
}
|
||||
Reference in New Issue
Block a user