Skip to content

Commit

Permalink
feat(overlays): Added the 'priority' parameter for overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
raspberry-jenshen committed Oct 21, 2024
1 parent 452d4a8 commit f55a7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flame/lib/src/game/overlay_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class OverlayManager {

/// The names of all currently active overlays.
UnmodifiableListView<String> get activeOverlays {
return UnmodifiableListView(_activeOverlays.map((e) => e.name));
return UnmodifiableListView(_activeOverlays.map((overlay) => overlay.name));
}

/// Returns if the given [overlayName] is active
Expand Down

0 comments on commit f55a7b8

Please sign in to comment.