Commit cf8ba267 authored by Alexander.Trofimov's avatar Alexander.Trofimov

cell/view/DrawingObjectsController to function-closure

parent 7101fe9f
"use strict"; "use strict";
(
/**
* @param {Window} window
* @param {undefined} undefined
*/
function (window, undefined) {
if(window.editor === "undefined" && window["Asc"]["editor"]) if(window.editor === "undefined" && window["Asc"]["editor"])
{ {
...@@ -473,4 +479,8 @@ DrawingObjectsController.prototype.onKeyPress = function(e) ...@@ -473,4 +479,8 @@ DrawingObjectsController.prototype.onKeyPress = function(e)
//if ( true == bRetValue ) //if ( true == bRetValue )
// this.updateSelectionState(); // this.updateSelectionState();
return bRetValue; return bRetValue;
}; };
\ No newline at end of file //------------------------------------------------------------export---------------------------------------------------
window['AscCommonExcel'] = window['AscCommonExcel'] || {};
window['AscCommonExcel'].CheckIdSatetShapeAdd = CheckIdSatetShapeAdd;
})(window);
\ No newline at end of file
...@@ -6319,7 +6319,7 @@ ...@@ -6319,7 +6319,7 @@
} }
var drawingInfo = this.objectRender.checkCursorDrawingObject( x, y ); var drawingInfo = this.objectRender.checkCursorDrawingObject( x, y );
if ( asc["editor"].isStartAddShape && CheckIdSatetShapeAdd( this.objectRender.controller.curState ) ) { if ( asc["editor"].isStartAddShape && AscCommonExcel.CheckIdSatetShapeAdd( this.objectRender.controller.curState ) ) {
return {cursor: kCurFillHandle, target: c_oTargetType.Shape, col: -1, row: -1}; return {cursor: kCurFillHandle, target: c_oTargetType.Shape, col: -1, row: -1};
} }
......
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