Skip to content

Commit

Permalink
feat(overlays): updated Docs for the overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
raspberry-jenshen committed Oct 21, 2024
1 parent 745ac65 commit 0d871d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/flame/overlays.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ by providing an `overlayBuilderMap`.
// Marks 'SecondaryMenu' to be rendered.
overlays.add(secondaryOverlayIdentifier, priority: 1);
// Marks 'PauseMenu' to be rendered. Priority = 0 by default, which 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 0d871d4

Please sign in to comment.