diff --git a/packages/client/src/board.scss b/packages/client/src/board.scss index 1f17dd9..43c3cf8 100644 --- a/packages/client/src/board.scss +++ b/packages/client/src/board.scss @@ -23,3 +23,13 @@ pointer-events: none; touch-action: none; } + +.board-overlay { + position: absolute; + top: 0; + left: 0; +} + +.no-interact { + pointer-events: none; +} diff --git a/packages/client/src/components/CanvasWrapper.tsx b/packages/client/src/components/CanvasWrapper.tsx index b7b890a..1421517 100644 --- a/packages/client/src/components/CanvasWrapper.tsx +++ b/packages/client/src/components/CanvasWrapper.tsx @@ -9,6 +9,7 @@ import { IPosition } from "@sc07-canvas/lib/src/net"; import { Template } from "./Template"; import { IRouterData, Router } from "../lib/router"; import { KeybindManager } from "../lib/keybinds"; +import { VirginOverlay } from "./Overlay/VirginOverlay"; export const CanvasWrapper = () => { const { config } = useAppContext(); @@ -17,6 +18,7 @@ export const CanvasWrapper = () => { return (
+ {config &&