ctrlpad: work with light & dark themes

pull/3383/head
Rob Pilling 2024-04-25 12:46:52 +01:00
parent c698048224
commit 375b977967
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,9 @@
renderG2(): void {
this.g2
.reset()
.clearRect(0, 0, this.width, this.height)
.setColor(g.theme.bg)
.fillRect(0, 0, this.width, this.height)
.setColor(colour.on.bg)
.drawRect(0, 0, this.width - 1, this.height - 1)
.drawRect(1, 1, this.width - 2, this.height - 2);
}