mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix
This commit is contained in:
parent
f8b25375a4
commit
2ea883a05e
3 changed files with 3 additions and 7 deletions
|
@ -263,8 +263,6 @@ const drawElementOnCanvas = (
|
|||
}
|
||||
default: {
|
||||
if (isTextElement(element)) {
|
||||
//context.fillStyle = "pink";
|
||||
//context.fillRect(0, 0, context.canvas.width, context.canvas.height);
|
||||
const rtl = isRTL(element.text);
|
||||
const shouldTemporarilyAttach = rtl && !context.canvas.isConnected;
|
||||
if (shouldTemporarilyAttach) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue