Compare commits
2 Commits
master
...
Alpha0.1.5
Author | SHA1 | Date | |
---|---|---|---|
396b128a2c | |||
298688269c |
@ -9,7 +9,7 @@ import { ContactAssimilate } from "@Behavior/ContactAssimilate";
|
||||
import { DelayAssimilate } from "@Behavior/DelayAssimilate";
|
||||
|
||||
const AllBehaviors: IAnyBehaviorRecorder[] = [
|
||||
new BehaviorRecorder(Template),
|
||||
// new BehaviorRecorder(Template),
|
||||
new BehaviorRecorder(PhysicsDynamics),
|
||||
new BehaviorRecorder(Brownian),
|
||||
new BehaviorRecorder(BoundaryConstraint),
|
||||
|
@ -99,7 +99,7 @@ class CommandBar extends Component<IMixinSettingProps & IMixinStatusProps, IComm
|
||||
})}
|
||||
|
||||
{getRenderButton({
|
||||
iconName: "WebAppBuilderFragmentCreate",
|
||||
iconName: "WebAppBuilderFragment",
|
||||
i18NKey: "Command.Bar.Add.Group.Info",
|
||||
click: () => {
|
||||
this.props.status ? this.props.status.newGroup() : undefined;
|
||||
@ -107,7 +107,7 @@ class CommandBar extends Component<IMixinSettingProps & IMixinStatusProps, IComm
|
||||
})}
|
||||
|
||||
{getRenderButton({
|
||||
iconName: "ProductVariant",
|
||||
iconName: "CubeShape",
|
||||
i18NKey: "Command.Bar.Add.Range.Info",
|
||||
click: () => {
|
||||
this.props.status ? this.props.status.newRange() : undefined;
|
||||
@ -130,16 +130,16 @@ class CommandBar extends Component<IMixinSettingProps & IMixinStatusProps, IComm
|
||||
}
|
||||
})}
|
||||
|
||||
{getRenderButton({ iconName: "Camera", i18NKey: "Command.Bar.Camera.Info" })}
|
||||
{/* {getRenderButton({ iconName: "Camera", i18NKey: "Command.Bar.Camera.Info" })} */}
|
||||
</div>
|
||||
<div>
|
||||
{getRenderButton({
|
||||
{/* {getRenderButton({
|
||||
iconName: "Settings",
|
||||
i18NKey: "Command.Bar.Setting.Info",
|
||||
click: () => {
|
||||
this.props.status?.popup.showPopup(SettingPopup, {});
|
||||
}
|
||||
})}
|
||||
})} */}
|
||||
</div>
|
||||
</Theme>
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ class Setting extends Emitter<ISettingEvents> {
|
||||
/**
|
||||
* 语言
|
||||
*/
|
||||
public language: Language = "EN_US";
|
||||
public language: Language = "ZH_CN";
|
||||
|
||||
/**
|
||||
* 布局
|
||||
|
@ -19,7 +19,7 @@ class Actuator extends Emitter<IActuatorEvent> {
|
||||
/**
|
||||
* 模拟帧率
|
||||
*/
|
||||
public fps: number = 36;
|
||||
public fps: number = 42;
|
||||
|
||||
/**
|
||||
* 仿真是否进行
|
||||
|
@ -13,6 +13,7 @@ import { HeaderBar } from "@Component/HeaderBar/HeaderBar";
|
||||
import { Popup } from "@Component/Popup/Popup";
|
||||
import { Entry } from "../Entry/Entry";
|
||||
import { Group } from "@Model/Group";
|
||||
import DEMO from "../demo";
|
||||
import "./SimulatorDesktop.scss";
|
||||
|
||||
initializeIcons("./font-icon/");
|
||||
@ -55,6 +56,10 @@ class SimulatorDesktop extends Component {
|
||||
})
|
||||
};
|
||||
|
||||
setTimeout(() => {
|
||||
this.status.archive.load(this.status.model, DEMO);
|
||||
}, 200);
|
||||
|
||||
(window as any).LT = {
|
||||
status: this.status,
|
||||
setting: this.setting
|
||||
|
@ -13,6 +13,7 @@ import { HeaderBar } from "@Component/HeaderBar/HeaderBar";
|
||||
import { Popup } from "@Component/Popup/Popup";
|
||||
import { Entry } from "../Entry/Entry";
|
||||
import { Group } from "@Model/Group";
|
||||
import DEMO from "../demo";
|
||||
import "./SimulatorWeb.scss";
|
||||
|
||||
initializeIcons("https://img.mrkbear.com/fabric-cdn-prod_20210407.001/");
|
||||
@ -154,6 +155,10 @@ class SimulatorWeb extends Component {
|
||||
}, 200)
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
this.status.archive.load(this.status.model, DEMO);
|
||||
}, 200);
|
||||
|
||||
(window as any).LT = {
|
||||
status: this.status,
|
||||
setting: this.setting
|
||||
|
1
source/Page/demo.ts
Normal file
1
source/Page/demo.ts
Normal file
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@ class ObjectCommand extends Component<IMixinStatusProps> {
|
||||
this.props.status ? this.props.status.newGroup() : undefined;
|
||||
}}
|
||||
>
|
||||
<Icon iconName="WebAppBuilderFragmentCreate"></Icon>
|
||||
<Icon iconName="WebAppBuilderFragment"></Icon>
|
||||
</div>
|
||||
<div
|
||||
className="command-item"
|
||||
@ -52,7 +52,7 @@ class ObjectCommand extends Component<IMixinStatusProps> {
|
||||
this.props.status ? this.props.status.newRange() : undefined;
|
||||
}}
|
||||
>
|
||||
<Icon iconName="ProductVariant"></Icon>
|
||||
<Icon iconName="CubeShape"></Icon>
|
||||
</div>
|
||||
<div
|
||||
className="command-item red"
|
||||
|
Loading…
Reference in New Issue
Block a user