Fix ghost button hover state to use full opacity and correct text color

This commit is contained in:
Brian Fertig 2026-09-01 20:03:10 -06:00
parent ae30c66a3a
commit 93db9ef9dc
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

View File

@ -55,8 +55,8 @@ export class Button extends Phaser.GameObjects.Container {
if (this._active) return;
const { bgHover: bgh, textHoverColor: thc, variant: v } = this.options;
if (v === 'ghost') {
this._drawBg(bgh, 0.18);
this.text.setColor(COLORS.goldHex);
this._drawBg(bgh, 0.9);
this.text.setColor(thc);
} else {
this._drawBg(bgh, 1);
this.text.setColor(thc);