sync
This commit is contained in:
@ -1433,6 +1433,10 @@ export class Grid {
|
||||
});
|
||||
grid.addEventListener('mousedown', e => {
|
||||
if (e.target === this._var.el) {
|
||||
if (e.offsetX < 0 || e.offsetX > e.target.clientWidth || e.offsetY < 0 || e.offsetY > e.target.clientHeight) {
|
||||
// except scroll bars
|
||||
return;
|
||||
}
|
||||
// cancel selections
|
||||
const selectedIndexes = this._var.selectedIndexes;
|
||||
if (selectedIndexes?.length > 0) {
|
||||
|
Reference in New Issue
Block a user