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