Skip to content

Commit

Permalink
Fix: workspace zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Aug 25, 2024
1 parent e83adb0 commit 269c48e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import * as React from "react";
import * as SwitchPrimitives from "@radix-ui/react-switch";
import { twMerge } from "tailwind-merge";

export { default as TwinSwitch } from "./twin-switch";

const Switch = React.forwardRef<
React.ElementRef<typeof SwitchPrimitives.Root>,
React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>
Expand Down
66 changes: 0 additions & 66 deletions src/components/core/switch/twin-switch.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/workspace/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const Workspace: React.FC<ISTKProps> = (props) => {
style={props.styles?.workspace?.root?.properties}
>
<svg id={ids.workspace} className="w-full h-full flex-1" onMouseOver={onWorkspaceHover}>
<g {...{ [dataAttributes.visibilityOffset]: "0" }}>
<g {...{ [dataAttributes.visibilityOffset]: "0" }} style={{ transformBox: "unset" }}>
{images.map((e) => (
<Element
key={e.id}
Expand Down

0 comments on commit 269c48e

Please sign in to comment.