diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-04-03 17:33:12 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:07 +0200 |
| commit | 90e93c708cf045b3f70ebd04c17ed8f0a303ab37 (patch) | |
| tree | c80e95bfd24f385938e0cd98e09e71fc5c1aacb8 /go/ui/cardGrid.go | |
| parent | e536684a420d2e905b23afab22b8ef453714f865 (diff) | |
| download | muhqs-game-90e93c708cf045b3f70ebd04c17ed8f0a303ab37.tar.gz muhqs-game-90e93c708cf045b3f70ebd04c17ed8f0a303ab37.zip | |
bump ebiten version to 2.5.1 and new APIs
Diffstat (limited to 'go/ui/cardGrid.go')
| -rw-r--r-- | go/ui/cardGrid.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/ui/cardGrid.go b/go/ui/cardGrid.go index 4cab2da7..36a215d5 100644 --- a/go/ui/cardGrid.go +++ b/go/ui/cardGrid.go @@ -98,7 +98,7 @@ func (w *CardGrid) render() *ebiten.Image { op.GeoM.Translate(xOffset, yOffset) if c, found := w.highlights[card]; found { - op.ColorM.ScaleWithColor(c) + op.ColorScale.ScaleWithColor(c) } w.grid.DrawImage(cardImg, op) |
