Browse Source

add api doc

xuty 4 năm trước cách đây
mục cha
commit
784a3cc643
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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();