Add behavior attr panel basic props editer
This commit is contained in:
@@ -56,11 +56,11 @@ class SimulatorWeb extends Component {
|
||||
this.status.newLabel().name = "New Label";
|
||||
this.status.newLabel().name = "Test Label 01";
|
||||
let dynamic = this.status.model.addBehavior(AllBehaviors[0]);
|
||||
dynamic.name = "Dynamic"; dynamic.color = "rgb(250, 200, 80)";
|
||||
dynamic.name = "Dynamic"; dynamic.color = [250, 200, 80];
|
||||
let brownian = this.status.model.addBehavior(AllBehaviors[1]);
|
||||
brownian.name = "Brownian"; brownian.color = "rgb(200, 80, 250)";
|
||||
brownian.name = "Brownian"; brownian.color = [200, 80, 250];
|
||||
let boundary = this.status.model.addBehavior(AllBehaviors[2]);
|
||||
boundary.name = "Boundary"; boundary.color = "rgb(80, 200, 250)";
|
||||
boundary.name = "Boundary"; boundary.color = [80, 200, 250];
|
||||
boundary.parameter.range = this.status.model.allRangeLabel;
|
||||
group.addBehavior(dynamic);
|
||||
group.addBehavior(brownian);
|
||||
|
||||
Reference in New Issue
Block a user