Skip to content

Commit

Permalink
Merge pull request #102 from hxf31891/dev
Browse files Browse the repository at this point in the history
Merge Translate Changes
  • Loading branch information
hxf31891 authored Jul 19, 2024
2 parents 1a5fda0 + a1e28cf commit a76e5ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Square.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ const Square = () => {
<div
className={classes.rbgcpHandle}
style={{
left: dragPos?.x,
top: dragPos?.y,
transform: `translate(${dragPos?.x || 0}px, ${dragPos?.y || 0}px)`,
}}
onMouseDown={handleMouseDown}
role="button"
Expand Down
1 change: 1 addition & 0 deletions src/core.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
z-index: 1000;
transition: all 10ms linear;
box-sizing: border-box;
will-change: transform;
}

.rbgcpCanvasWrapper {
Expand Down

0 comments on commit a76e5ea

Please sign in to comment.