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 f55a7b8 commit 745ac65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/flame/overlays.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ by providing an `overlayBuilderMap`.
// Marks 'SecondaryMenu' to be rendered.
overlays.add(secondaryOverlayIdentifier, priority: 1);
// Marks 'PauseMenu' to be rendered. Priority = 0 by default, means the 'PauseMenu' will be displayed under the 'SecondaryMenu'
// Marks 'PauseMenu' to be rendered. Priority = 0 by default, which means the 'PauseMenu' will be displayed under the 'SecondaryMenu'
overlays.add(pauseOverlayIdentifier);
// Marks 'PauseMenu' to not be rendered.
overlays.remove(pauseOverlayIdentifier);
Expand Down

0 comments on commit 745ac65

Please sign in to comment.