mirror of
https://github.com/Findus23/RainbowRoad.git
synced 2024-09-19 16:03:52 +02:00
make flags on areal view more opaque
This commit is contained in:
parent
0c0c58d9d8
commit
f5fbcefea2
1 changed files with 1 additions and 1 deletions
|
@ -33,6 +33,6 @@ export class MapButton extends Control {
|
||||||
this.showingOrtho = !this.showingOrtho
|
this.showingOrtho = !this.showingOrtho
|
||||||
firstLayer.setVisible(!this.showingOrtho)
|
firstLayer.setVisible(!this.showingOrtho)
|
||||||
secondLayer.setVisible(this.showingOrtho)
|
secondLayer.setVisible(this.showingOrtho)
|
||||||
thirdLayer.setOpacity(this.showingOrtho ? 0.5 : 1)
|
thirdLayer.setOpacity(this.showingOrtho ? 0.2 : 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue