Commit c9af3fdb authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent d1096592
......@@ -84396,7 +84396,7 @@ function ResizeTrackShapeImage(originalObject, cardDirection)
var _new_used_half_height;
var _temp;
if(ShiftKey === true && this.bAspect === true)
if((ShiftKey === true || window.AscAlwaysSaveAspectOnResizeTrack === true) && this.bAspect === true)
{
var _new_aspect = this.aspect*(Math.abs(kd1/ kd2));
......@@ -84746,7 +84746,7 @@ function ResizeTrackShapeImage(originalObject, cardDirection)
var _real_height, _real_width;
var _abs_height, _abs_width;
if(ShiftKey === true && this.bAspect === true)
if((ShiftKey === true || window.AscAlwaysSaveAspectOnResizeTrack === true) && this.bAspect === true)
{
var _new_aspect = this.aspect*(Math.abs(kd1/ kd2));
......@@ -85089,7 +85089,7 @@ function ResizeTrackGroup(originalObject, cardDirection, parentTrack)
var _new_used_half_height;
var _temp;
if(ShiftKey === true && this.bAspect === true)
if((ShiftKey === true || window.AscAlwaysSaveAspectOnResizeTrack === true) && this.bAspect === true)
{
var _new_aspect = this.aspect*(Math.abs(kd1/ kd2));
......@@ -85370,7 +85370,7 @@ function ResizeTrackGroup(originalObject, cardDirection, parentTrack)
var _real_height, _real_width;
var _abs_height, _abs_width;
if(ShiftKey === true && this.bAspect === true)
if((ShiftKey === true || window.AscAlwaysSaveAspectOnResizeTrack === true) && this.bAspect === true)
{
var _new_aspect = this.aspect*(Math.abs(kd1/ kd2));
......@@ -367781,6 +367781,7 @@ asc_docs_api.prototype["Native_Editor_Initialize_Settings"] = function(_params)
case 101:
{
this.WordControl.m_oDrawingDocument.IsMobile = _params[_current.pos++];
window.AscAlwaysSaveAspectOnResizeTrack = true;
break;
}
case 255:
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