lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit cbf6a0c1 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35213

parent f5510aff
......@@ -4796,6 +4796,25 @@ DrawingObjectsController.prototype =
ret.putSmooth(b_smooth);
}
}
else if(chart_type_object_type === AscDFH.historyitem_type_SurfaceChart){
var oView3D = chart_space.chart.view3D;
if(chart_type.isWireframe()){
if(oView3D && oView3D.rotX === 90 && oView3D.rotY === 0 && oView3D.rAngAx === false && oView3D.perspective === 0){
calc_chart_type = c_oAscChartTypeSettings.contourWireframe;
}
else{
calc_chart_type = c_oAscChartTypeSettings.surfaceWireframe;
}
}
else{
if(oView3D && oView3D.rotX === 90 && oView3D.rotY === 0 && oView3D.rAngAx === false && oView3D.perspective === 0){
calc_chart_type = c_oAscChartTypeSettings.contourNormal;
}
else{
calc_chart_type = c_oAscChartTypeSettings.surfaceNormal;
}
}
}
else
{
calc_chart_type = c_oAscChartTypeSettings.unknown;
......
......@@ -563,6 +563,7 @@ CPresentation.prototype =
oTextStyle.levels[9].DefaultRunPr.Lang.Val = NewLangId;
this.setDefaultTextStyle(oTextStyle);
this.Restart_CheckSpelling();
this.Recalculate();
this.Document_UpdateInterfaceState();
},
......@@ -4366,6 +4367,14 @@ CPresentation.prototype =
{
break;
}
case AscDFH.historyitem_Presentation_SetDefaultTextStyle:{
for(key = 0; key < this.Slides.length; ++key)
{
this.Slides[key].checkSlideSize();
}
this.Restart_CheckSpelling();
break;
}
case AscDFH.historyitem_Presentation_SlideSize:
{
recalculateMaps = this.GetRecalculateMaps();
......@@ -4443,6 +4452,7 @@ CPresentation.prototype =
break;
}
case AscDFH.historyitem_Presentation_SlideSize:
case AscDFH.historyitem_Presentation_SetDefaultTextStyle:
{
History.RecalcData_Add({Type: AscDFH.historyitem_recalctype_Drawing, All: true});
break;
......
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