Commit 992f1b61 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил клик правой кнопки мыши (x -> _x ; y -> _y)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51400 954022d7-b5bf-4e40-9824-e11837661b57
parent eedc73cf
......@@ -2242,7 +2242,7 @@ function Row(worksheet)
this.h = null;
this.hd = null;
this.CustomHeight = null;
};
}
Row.prototype =
{
getCells : function () {
......
......@@ -5976,7 +5976,7 @@
// Попали в выделение ячеек
isInSelection = true;
}
} else if (x <= this.cellsLeft && y >= this.cellsTop && c_oAscSelectionType.RangeRow === ar.type) {
} else if (_x <= this.cellsLeft && _y >= this.cellsTop && c_oAscSelectionType.RangeRow === ar.type) {
// Выделены строки
// Пересчитываем Y относительно видимой области
_y += (this.rows[this.visibleRange.r1].top - this.cellsTop);
......@@ -5985,7 +5985,7 @@
// Попали в выделение ячеек
isInSelection = true;
}
} else if (y <= this.cellsTop && x >= this.cellsLeft && c_oAscSelectionType.RangeCol === ar.type) {
} else if (_y <= this.cellsTop && _x >= this.cellsLeft && c_oAscSelectionType.RangeCol === ar.type) {
// Выделены столбцы
// Пересчитываем X относительно видимой области
_x += (this.cols[this.visibleRange.c1].left - this.cellsLeft);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment