aboutsummaryrefslogtreecommitdiff
path: root/selection.go
diff options
context:
space:
mode:
Diffstat (limited to 'selection.go')
-rw-r--r--selection.go2
1 files changed, 1 insertions, 1 deletions
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()))