Commit 236359aa authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 34678

parent 1932e924
...@@ -1077,8 +1077,8 @@ ...@@ -1077,8 +1077,8 @@
if (undefined !== ct.userIdAllSheet) { if (undefined !== ct.userIdAllSheet) {
arrMouseMoveObjects.push(new asc_CMM({ arrMouseMoveObjects.push(new asc_CMM({
type: c_oAscMouseMoveType.LockedObject, type: c_oAscMouseMoveType.LockedObject,
x: ct.lockAllPosLeft, x: AscCommon.AscBrowser.convertToRetinaValue(ct.lockAllPosLeft),
y: ct.lockAllPosTop, y: AscCommon.AscBrowser.convertToRetinaValue(ct.lockAllPosTop),
userId: ct.userIdAllSheet, userId: ct.userIdAllSheet,
lockedObjectType: Asc.c_oAscMouseMoveLockedObjectType.Sheet lockedObjectType: Asc.c_oAscMouseMoveLockedObjectType.Sheet
})); }));
...@@ -1087,8 +1087,8 @@ ...@@ -1087,8 +1087,8 @@
if (undefined !== ct.userIdAllProps) { if (undefined !== ct.userIdAllProps) {
arrMouseMoveObjects.push(new asc_CMM({ arrMouseMoveObjects.push(new asc_CMM({
type: c_oAscMouseMoveType.LockedObject, type: c_oAscMouseMoveType.LockedObject,
x: ct.lockAllPosLeft, x: AscCommon.AscBrowser.convertToRetinaValue(ct.lockAllPosLeft),
y: ct.lockAllPosTop, y: AscCommon.AscBrowser.convertToRetinaValue(ct.lockAllPosTop),
userId: ct.userIdAllProps, userId: ct.userIdAllProps,
lockedObjectType: Asc.c_oAscMouseMoveLockedObjectType.TableProperties lockedObjectType: Asc.c_oAscMouseMoveLockedObjectType.TableProperties
})); }));
...@@ -1098,8 +1098,8 @@ ...@@ -1098,8 +1098,8 @@
if (undefined !== ct.userId) { if (undefined !== ct.userId) {
arrMouseMoveObjects.push(new asc_CMM({ arrMouseMoveObjects.push(new asc_CMM({
type: c_oAscMouseMoveType.LockedObject, type: c_oAscMouseMoveType.LockedObject,
x: ct.lockRangePosLeft, x: AscCommon.AscBrowser.convertToRetinaValue(ct.lockRangePosLeft),
y: ct.lockRangePosTop, y: AscCommon.AscBrowser.convertToRetinaValue(ct.lockRangePosTop),
userId: ct.userId, userId: ct.userId,
lockedObjectType: Asc.c_oAscMouseMoveLockedObjectType.Range lockedObjectType: Asc.c_oAscMouseMoveLockedObjectType.Range
})); }));
...@@ -1122,9 +1122,12 @@ ...@@ -1122,9 +1122,12 @@
} else { } else {
ct.cursor = ct.cellCursor.cursor; ct.cursor = ct.cellCursor.cursor;
} }
arrMouseMoveObjects.push(new asc_CMM({ arrMouseMoveObjects.push(new asc_CMM({
type: c_oAscMouseMoveType.Hyperlink, x: x, y: y, hyperlink: ct.hyperlink type: c_oAscMouseMoveType.Hyperlink,
})); x: AscCommon.AscBrowser.convertToRetinaValue(x),
y: AscCommon.AscBrowser.convertToRetinaValue(y),
hyperlink: ct.hyperlink
}));
} }
/* Проверяем, может мы на никаком объекте (такая схема оказалась приемлимой /* Проверяем, может мы на никаком объекте (такая схема оказалась приемлимой
......
This diff is collapsed.
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