1cf38d92ef
* support for high contrast in simulator * updated logic to find afterProgramPage.
10 lines
309 B
TypeScript
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
|
|
});
|
|
}
|
|
} |