Fixes for High contrast mode as per lego design. Most changes are in PXT. Adding high contrast theme in the simulator (#564)

This commit is contained in:
Sam El-Husseini
2018-05-04 10:36:48 -07:00
committed by GitHub
parent 2a371b9cc6
commit f0df0222c0
7 changed files with 36 additions and 29 deletions

View File

@ -41,6 +41,11 @@ namespace pxsim.visuals {
return this.wire;
}
public updateThemeCore() {
let theme = this.theme;
this.path.setAttribute('stroke', theme.wireColor);
}
updatePath() {
if (!this.hasDimensions) return;
const height = this.endY - this.startY;