support for high contrast in simulator (#386)
* support for high contrast in simulator * updated logic to find afterProgramPage.
This commit is contained in:
@ -2,9 +2,9 @@ namespace pxsim.visuals {
|
||||
mkBoardView = (opts: BoardViewOptions): BoardView => {
|
||||
return new visuals.MicrobitBoardSvg({
|
||||
runtime: runtime,
|
||||
theme: visuals.randomTheme(),
|
||||
theme: visuals.randomTheme(opts.highContrast),
|
||||
disableTilt: false,
|
||||
wireframe: opts.wireframe,
|
||||
wireframe: opts.wireframe
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user