Skip to content

Commit

Permalink
Repaint editor when floating cursor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
amantoux committed Aug 10, 2024
1 parent 9798d06 commit bd64013
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/fleather/lib/src/rendering/editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@ class RenderEditor extends RenderEditableContainerBox
_floatingCursorRect = null;
_cursorController.setFloatingCursorTextPosition(null);
}
markNeedsPaint();

Check warning on line 864 in packages/fleather/lib/src/rendering/editor.dart

View check run for this annotation

Codecov / codecov/patch

packages/fleather/lib/src/rendering/editor.dart#L864

Added line #L864 was not covered by tests
}

void _paintFloatingCursor(PaintingContext context, Offset offset) {
Expand Down

0 comments on commit bd64013

Please sign in to comment.