From 2dc0e353fdd2752348b5bb7da17c76ddf30466f5 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 7 May 2026 10:38:10 +0200 Subject: Fix selection rectangle stroke width for screen-space rendering Co-Authored-By: Claude Sonnet 4.6 --- selection/selection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selection') diff --git a/selection/selection.go b/selection/selection.go index 1c702ee..8ba1fb2 100644 --- a/selection/selection.go +++ b/selection/selection.go @@ -140,5 +140,5 @@ func (s *GlobalSelection) Unselect(selectables []Selectable) { } func (s *GlobalSelection) Draw(dst *ebiten.Image, screenCursor physics.Point) { - vector.StrokeRect(dst, float32(s.startScreen.X), float32(s.startScreen.Y), float32(screenCursor.X-s.startScreen.X), float32(screenCursor.Y-s.startScreen.Y), 10.0, color.RGBA{256 * 3 / 16, 256 * 3 / 16, 256 * 3 / 16, 256 / 4}, true) + vector.StrokeRect(dst, float32(s.startScreen.X), float32(s.startScreen.Y), float32(screenCursor.X-s.startScreen.X), float32(screenCursor.Y-s.startScreen.Y), 2.0, color.RGBA{256 * 3 / 16, 256 * 3 / 16, 256 * 3 / 16, 256 / 4}, true) } -- cgit v1.3