!2779 优化:添加捕捉穿透关闭时提示

pull/2780/head
黄诗津 4 months ago
parent f1edb372bd
commit 127708f095

@ -348,6 +348,17 @@ export class DownPanel extends React.Component<{ store: DownPanelStore; }, {}>
app.Editor.GetPointServices.snapServices.AxisSnapMode = AxisSnapMode.None;
}
}
if (key === "capturePenetration")
{
if (!e.currentTarget.checked)
{
AppToaster.show({
message: "关闭捕捉穿透会造成卡顿,仅在需要时使用!",
timeout: 5000,
intent: Intent.WARNING,
});
}
}
this.props.store[key] = e.currentTarget.checked;
if (!app.Viewer.isLayout)

Loading…
Cancel
Save