mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: refresh wysiwyg position on canvas resize (#3008)
This commit is contained in:
parent
4fdddb518a
commit
4b253c7362
4 changed files with 27 additions and 3 deletions
|
@ -1551,6 +1551,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
|||
textWysiwyg({
|
||||
id: element.id,
|
||||
appState: this.state,
|
||||
canvas: this.canvas,
|
||||
getViewportCoords: (x, y) => {
|
||||
const { x: viewportX, y: viewportY } = sceneCoordsToViewportCoords(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue