debounce only move events
This commit is contained in:
@@ -282,8 +282,8 @@ export class CoreMouseService implements ICoreMouseService {
|
|||||||
event.col++;
|
event.col++;
|
||||||
event.row++;
|
event.row++;
|
||||||
|
|
||||||
// debounce at grid level
|
// debounce move at grid level
|
||||||
if (this._lastEvent && this._compareEvents(this._lastEvent, event)) {
|
if (event.action === 'move' && this._lastEvent && this._compareEvents(this._lastEvent, event)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user