소스 검색

Update example

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();
     }