Closed ClaPalo closed 2 months ago
@ClaPalo is attempting to deploy a commit to the dottle's projects Team on Vercel.
A member of the Team first needs to authorize it.
The issue seems to be related with the style of transform set to g
in Canvas.jsx
. And the transform state is set by diagram. Personally, removing those style should not be relevant to the position of an element. We may need further investigation to solve it properly.
It seems that by using RGBA for the colors, it's possible to set to opacity without creating the issue.
This seems to be the solution to fix it. I cannot find any other approach. I created a PR to fix another issue that renders the buttons in the wrong position.
Fix seems to be required for Notes and subject area as well. I will open another issue for this.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
drawdb | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 14, 2024 7:01am |
Fix to #32. For some reason, the problem seems to be related to the opacity of the buttons. I fixed it by setting the opacity back to 1, which doesn't seem to ruin the UX.