pull/535/MERGE
ZoeLeeFZ 5 years ago committed by ChenX
parent 21255eb4ef
commit 4b4ffa3c93

@ -13,7 +13,7 @@ import { IConfigStore } from "../BoardStore";
import { DrillingStore } from "./DrillingStore";
import { LightStore } from "./LightStore";
import { SealingStore } from "./SealingStore";
import { TemplateRecord } from "../../../DatabaseServices/Template/TemplateRecord";
import { FixedNotZero } from "../../../Common/Utils";
type IUIModeiling = Modify<IModelingItem, {
color: string;
@ -85,7 +85,7 @@ export class RightPanelStore implements IConfigStore
ChangeModelingValue(index: number, data: IModeling)
{
this.modelingItems[index].height = data.thickness;
this.UIModelingItems[index]["height"] = data.thickness.toString();
this.UIModelingItems[index]["height"] = FixedNotZero(data.thickness, 2);
this.modelingItems[index].dir = data.dir;
this.UIModelingItems[index]["dir"] = data.dir;
this.modelingItems[index].knifeRad = data.knifeRadius;

Loading…
Cancel
Save