feat: Common elbow mid segments (#8440)

Common start or end segment length for elbow arrows regardless of arrowhead is present
This commit is contained in:
Márk Tolmács 2024-09-17 10:11:07 +02:00 committed by GitHub
parent 508f16dc04
commit c07f5a0c80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 56 additions and 34 deletions

View file

@ -649,7 +649,12 @@ const ExcalidrawWrapper = () => {
// Render the debug scene if the debug canvas is available
if (debugCanvasRef.current && excalidrawAPI) {
debugRenderer(debugCanvasRef.current, appState, window.devicePixelRatio);
debugRenderer(
debugCanvasRef.current,
appState,
window.devicePixelRatio,
() => forceRefresh((prev) => !prev),
);
}
};