mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-19 07:20:21 +02:00
fix: respect clip frame during exports
This commit is contained in:
@@ -366,6 +366,10 @@ const frameClip = (
|
||||
renderConfig: StaticCanvasRenderConfig,
|
||||
appState: StaticCanvasAppState,
|
||||
) => {
|
||||
if (!appState.frameRendering.clip) {
|
||||
return;
|
||||
}
|
||||
|
||||
context.translate(frame.x + appState.scrollX, frame.y + appState.scrollY);
|
||||
context.beginPath();
|
||||
if (context.roundRect && !renderConfig.isExporting) {
|
||||
|
Reference in New Issue
Block a user