xuty 4 سال پیش
والد
کامیت
784a3cc643
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      lib/frontend/terminal_view.dart

+ 1 - 0
lib/frontend/terminal_view.dart

@@ -236,6 +236,7 @@ class _TerminalViewState extends State<TerminalView> {
     );
   }
 
+  /// Get global cell position from mouse position.
   Position getMouseOffset(double px, double py) {
     final col = (px / _cellSize.cellWidth).floor();
     final row = (py / _cellSize.cellHeight).floor();