pxt-calliope/sim/visuals/boardview.ts
Peli de Halleux 1cf38d92ef support for high contrast in simulator (#386)
* support for high contrast in simulator

* updated logic to find afterProgramPage.
2017-04-19 23:44:47 -07:00

10 lines
309 B
TypeScript

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