[SSE] Fix username tip for locked worksheet

This commit is contained in:
Julia Radzhabova 2018-07-19 16:40:19 +03:00
parent e0690974f0
commit e804b9dcfc

View file

@ -1056,7 +1056,7 @@ define([
coAuthTip.y_point + coAuthTip.XY[1] coAuthTip.y_point + coAuthTip.XY[1]
]; ];
if (showPoint[1] > coAuthTip.XY[1] && if (showPoint[1] >= coAuthTip.XY[1] &&
showPoint[1] + coAuthTip.ttHeight < coAuthTip.XY[1] + coAuthTip.apiHeight) { showPoint[1] + coAuthTip.ttHeight < coAuthTip.XY[1] + coAuthTip.apiHeight) {
src.text(getUserName(data.asc_getUserId())); src.text(getUserName(data.asc_getUserId()));
if (coAuthTip.bodyWidth - showPoint[0] < coAuthTip.ref.width() ) { if (coAuthTip.bodyWidth - showPoint[0] < coAuthTip.ref.width() ) {