mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-16 14:00:56 +02:00
change offset to 8pixels
This commit is contained in:
@@ -280,7 +280,7 @@ export const textWysiwyg = ({
|
||||
);
|
||||
|
||||
const offset =
|
||||
(updatedTextElement.height - baseline - 10) * appState.zoom.value;
|
||||
(updatedTextElement.height - baseline - 8) * appState.zoom.value;
|
||||
|
||||
const top = viewportY + offset;
|
||||
// Make sure text editor height doesn't go beyond viewport
|
||||
|
Reference in New Issue
Block a user