Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
fangsmile committed Jan 2, 2024
1 parent 618f4c3 commit e7bcc44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vtable/src/event/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class EventManager {
gesture: Gesture;
handleTextStickBindId: number;

//鼠标事件记录
//鼠标事件记录。 PointerMove敏感度太高了 记录下上一个鼠标位置 在接收到PointerMove事件时做判断 是否到到触发框选或者移动表头操作的标准,防止误触
LastPointerXY: { x: number; y: number };
LastBodyPointerXY: { x: number; y: number };
isDown = false;
Expand Down
2 changes: 0 additions & 2 deletions packages/vtable/src/event/listener/table-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import type { IIconGraphicAttribute } from '../../scenegraph/graphic/icon';
import { getCellMergeInfo } from '../../scenegraph/utils/get-cell-merge';
import type { CheckBox, CheckboxAttributes } from '@visactor/vrender-components';

// PointerMove敏感度太高了 记录下上一个鼠标位置 在接收到PointerMove事件时做判断 是否到到触发框选或者移动表头操作的标准,防止误触

export function bindTableGroupListener(eventManager: EventManager) {
const table = eventManager.table;
const stateManager = table.stateManager;
Expand Down

0 comments on commit e7bcc44

Please sign in to comment.