fix: corrects value of disableInteractions

This commit is contained in:
Mark Mankarious 2023-08-25 18:30:11 +01:00
parent 61e03f3367
commit b34a2b27d3
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ const App = ({
>
<Renderer />
<ItemControlsManager />
{disableInteractions && <ToolMenu />}
{!disableInteractions && <ToolMenu />}
{mode.type === 'PLACE_ELEMENT' && mode.icon && (
<SceneLayer>
<DragAndDrop icon={mode.icon} tile={mouse.position.tile} />

View file

@ -140,7 +140,7 @@ export interface UiStateActions {
setContextMenu: (contextMenu: ContextMenu) => void;
setMouse: (mouse: Mouse) => void;
setRendererSize: (rendererSize: Size) => void;
setDisableInteractions: (enabled: boolean) => void;
setDisableInteractions: (isDisabled: boolean) => void;
setDebugMode: (enabled: boolean) => void;
}