pxt-ev3/sim/visuals/boardview.ts
Sam El-Husseini 0dc2548d0b
Optimize simulator for light mode. (#379)
* Optimize simulator for light mode.

* Add user-select none.
2018-03-28 13:36:52 -07:00

10 lines
313 B
TypeScript

namespace pxsim.visuals {
mkBoardView = (opts: BoardViewOptions): BoardView => {
return new visuals.EV3View({
runtime: runtime,
theme: visuals.randomTheme(opts.highContrast, opts.light),
disableTilt: false,
wireframe: opts.wireframe,
});
}
}