daily: 2021-09-27

This commit is contained in:
2021-09-27 23:17:38 +08:00
parent fb671cd62a
commit 6634024333
18 changed files with 600 additions and 224 deletions
+3 -1
View File
@@ -6,10 +6,12 @@ function Canvas({ children, ...props }) {
return (
<svg
xmlns=" http://www.w3.org/2000/svg"
{...props}
className={Styles.svg}
width={store.canvasWidth}
height={store.canvasHeight}
// TODO: do this
onContextMenu={(ev) => ev.preventDefault()}
{...props}
>
{children}
</svg>