debounce only move events

This commit is contained in:
Jörg Breitbart
2019-07-19 02:56:24 +02:00
parent e38a68e396
commit df0cf253ac
+2 -2
View File
@@ -282,8 +282,8 @@ export class CoreMouseService implements ICoreMouseService {
event.col++;
event.row++;
// debounce at grid level
if (this._lastEvent && this._compareEvents(this._lastEvent, event)) {
// debounce move at grid level
if (event.action === 'move' && this._lastEvent && this._compareEvents(this._lastEvent, event)) {
return false;
}