Fix ghost button hover state to use full opacity and correct text color
This commit is contained in:
parent
ae30c66a3a
commit
93db9ef9dc
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 2.2 MiB |
Binary file not shown.
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue