diff options
Diffstat (limited to 'go/ui/mapView.go')
| -rw-r--r-- | go/ui/mapView.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/go/ui/mapView.go b/go/ui/mapView.go index 721356ff..59e8f3a7 100644 --- a/go/ui/mapView.go +++ b/go/ui/mapView.go @@ -132,7 +132,7 @@ func (vw *MapView) drawMapLayer(screen *ebiten.Image) { op.GeoM.Translate(x_px, y_px) if color, found := vw.tileHighlights[pos]; found { - op.ColorM.ScaleWithColor(color) + op.ColorScale.ScaleWithColor(color) } vw.mapLayer.DrawImage(tileImg, op) @@ -176,10 +176,10 @@ func (vw *MapView) drawPermanentsLayer(screen *ebiten.Image) { op := &ebiten.DrawImageOptions{} op.GeoM.Translate(float64(x_px), float64(y_px)) - op.ColorM.ScaleWithColor(p.Controller().Color) + op.ColorScale.ScaleWithColor(p.Controller().Color) if color, found := vw.permanentsHighlights[p]; found { - op.ColorM.ScaleWithColor(color) + op.ColorScale.ScaleWithColor(color) } vw.permanentsLayer.DrawImage(permanentSymbol, op) |
