Started snapping objects

This commit is contained in:
Artur AGH
2023-12-11 14:45:49 +01:00
parent af650e104c
commit a6135ff964
8 changed files with 74 additions and 25 deletions

View File

@@ -60,7 +60,9 @@ const Canvas = () => {
<div className="relative flex h-full w-full flex-col items-center">
<Toolbar />
<div
className={"flex h-full w-full items-center justify-center"}
className={
"vertical-line horizontal-line flex h-full w-full items-center justify-center"
}
onClick={(e) => {
if (e.target !== e.currentTarget) {
return;