Commit 320c4b1f authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Попадание в выделение при selectAll

Баг http://bugzserver/show_bug.cgi?id=18081

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51406 954022d7-b5bf-4e40-9824-e11837661b57
parent e716b1ea
...@@ -5363,8 +5363,7 @@ ...@@ -5363,8 +5363,7 @@
var cursorInfo = this.objectRender.checkCursorDrawingObject(xpos, ypos); var cursorInfo = this.objectRender.checkCursorDrawingObject(xpos, ypos);
if ( cursorInfo ) { if ( cursorInfo ) {
var graphicSelectionType = this.objectRender.getGraphicSelectionType(cursorInfo.id); ar.type = this.objectRender.getGraphicSelectionType(cursorInfo.id);
ar.type = graphicSelectionType;
return; return;
} }
...@@ -5964,7 +5963,7 @@ ...@@ -5964,7 +5963,7 @@
var isInSelection = false; var isInSelection = false;
// Проверяем попали ли мы в выделение // Проверяем попали ли мы в выделение
if (_x < this.cellsLeft && _y < this.cellsTop && c_oAscSelectionType.RangeMax === ar.type) { if ((_x < this.cellsLeft || _y < this.cellsTop) && c_oAscSelectionType.RangeMax === ar.type) {
// Выделено все // Выделено все
isInSelection = true; isInSelection = true;
} else if (_x > this.cellsLeft && _y > this.cellsTop) { } else if (_x > this.cellsLeft && _y > this.cellsTop) {
......
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