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