mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-12 21:02:14 +00:00
Ok fixed clipping issue
This commit is contained in:
1 parent
4c666fb2ff
commit
4f397171f0
1 file changed
+1
-1
@@ -1010,7 +1010,7 @@ export const PaintSurface = ({
|
||||
<Layer
|
||||
ref={leftPanelRef}
|
||||
clipFunc={(ctx) => {
|
||||
ctx.rect(0, 0, leftPanelWidth, leftPanelHeight);
|
||||
ctx.rect(0, 0, store.getAspectRatioDimensions().width, store.getAspectRatioDimensions().height); // leftPanelWidth, leftPanelHeight);
|
||||
}}
|
||||
>
|
||||
<Rect
|
||||
|
||||
Reference in new issue
Block a user