Skip to content

Commit 269c48e

Browse files
committed
Fix: workspace zoom
1 parent e83adb0 commit 269c48e

File tree

3 files changed

+1
-69
lines changed

3 files changed

+1
-69
lines changed

src/components/core/switch/index.tsx renamed to src/components/core/switch.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import * as React from "react";
22
import * as SwitchPrimitives from "@radix-ui/react-switch";
33
import { twMerge } from "tailwind-merge";
44

5-
export { default as TwinSwitch } from "./twin-switch";
6-
75
const Switch = React.forwardRef<
86
React.ElementRef<typeof SwitchPrimitives.Root>,
97
React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>

src/components/core/switch/twin-switch.tsx

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/components/workspace/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const Workspace: React.FC<ISTKProps> = (props) => {
5858
style={props.styles?.workspace?.root?.properties}
5959
>
6060
<svg id={ids.workspace} className="w-full h-full flex-1" onMouseOver={onWorkspaceHover}>
61-
<g {...{ [dataAttributes.visibilityOffset]: "0" }}>
61+
<g {...{ [dataAttributes.visibilityOffset]: "0" }} style={{ transformBox: "unset" }}>
6262
{images.map((e) => (
6363
<Element
6464
key={e.id}

0 commit comments

Comments
 (0)