Game-Polish #9
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;
|
if (this._active) return;
|
||||||
const { bgHover: bgh, textHoverColor: thc, variant: v } = this.options;
|
const { bgHover: bgh, textHoverColor: thc, variant: v } = this.options;
|
||||||
if (v === 'ghost') {
|
if (v === 'ghost') {
|
||||||
this._drawBg(bgh, 0.18);
|
this._drawBg(bgh, 0.9);
|
||||||
this.text.setColor(COLORS.goldHex);
|
this.text.setColor(thc);
|
||||||
} else {
|
} else {
|
||||||
this._drawBg(bgh, 1);
|
this._drawBg(bgh, 1);
|
||||||
this.text.setColor(thc);
|
this.text.setColor(thc);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue