mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2026-04-23 08:31:16 -04:00
fix: corrects value of disableInteractions
This commit is contained in:
@@ -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} />
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user