xuty пре 2 година
родитељ
комит
d87c5eecf0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      example/lib/suggestion.dart

+ 1 - 1
example/lib/suggestion.dart

@@ -200,7 +200,7 @@ class _HomeState extends State<Home> {
     print('suggestions: $suggestions');
 
     if (suggestions.isNotEmpty) {
-      suggestionOverlay.update(terminalKey.currentState!.cursorRect);
+      suggestionOverlay.update(terminalKey.currentState!.globalCursorRect);
     } else {
       suggestionOverlay.hide();
     }