Skip to content

Commit

Permalink
形を整える
Browse files Browse the repository at this point in the history
  • Loading branch information
k35o committed Sep 13, 2024
1 parent eb36e3e commit 0962a8d
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ type Position =
export const useControlPanel = () => {
const containerRef = useRef<HTMLDivElement>(null);
const [position, setPosition] = useState<Record<Position, number>>({
topLeftX: 10,
topLeftY: 10,
topRightX: 10,
topRightY: 10,
bottomLeftX: 10,
bottomLeftY: 10,
bottomRightX: 10,
bottomRightY: 10,
topLeftX: 63,
topLeftY: 37,
topRightX: 24,
topRightY: 54,
bottomLeftX: 53,
bottomLeftY: 26,
bottomRightX: 32,
bottomRightY: 36,
});
const [activePosition, setActivePosition] =
useState<Position | null>(null);
Expand Down

0 comments on commit 0962a8d

Please sign in to comment.