From 5224fdc80913597287a5f67efec5d0be3254ce59 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 4 Jul 2025 23:05:42 +0200 Subject: Fmt --- selection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selection.go') diff --git a/selection.go b/selection.go index 91f35fe..d9120d2 100644 --- a/selection.go +++ b/selection.go @@ -17,7 +17,7 @@ type Selection struct { func (e *Entity) SelectMultiple(cursor physics.Point, selection GlobalSelection) { if e.Selection.IsEnabled { e.Selection.Value.IsSelected = false - selectionBounds := physics.Rectangle{Min:selection.Start, Max:cursor}.Canon() + selectionBounds := physics.Rectangle{Min: selection.Start, Max: cursor}.Canon() if selectionBounds.Overlaps(e.Bounds()) { e.Selection.Value.IsSelected = true slog.Info("entity selected", slog.String("position", e.Position.Value.String())) -- cgit v1.3