Optimize simulator for light mode. (#379)
* Optimize simulator for light mode. * Add user-select none.
This commit is contained in:
@ -6,5 +6,9 @@ namespace pxsim.visuals {
|
||||
constructor(port: number) {
|
||||
super(INFRARED_SVG, "infrared", NodeType.InfraredSensor, port);
|
||||
}
|
||||
|
||||
protected optimizeForLightMode() {
|
||||
(this.content.getElementById(this.normalizeId('path9245')) as SVGElement).style.fill = '#f2f2f2';
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user