Change to always show the sensor controls. (#526)
This commit is contained in:
committed by
Peli de Halleux
parent
03add213d9
commit
3c96cfcc0a
19
sim/visuals/nodes/sensorView.ts
Normal file
19
sim/visuals/nodes/sensorView.ts
Normal file
@ -0,0 +1,19 @@
|
||||
/// <reference path="./moduleView.ts" />
|
||||
|
||||
namespace pxsim.visuals {
|
||||
|
||||
export abstract class SensorView extends ModuleView implements LayoutElement {
|
||||
|
||||
constructor(xml: string, prefix: string, id: NodeType, port: NodeType) {
|
||||
super(xml, prefix, id, port);
|
||||
}
|
||||
|
||||
public getSelected() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public hasClose() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user