Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Fix setFullscreen example in types.ts (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
luizbills authored Dec 13, 2023
1 parent 5e4ffcf commit 0afc085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ export interface KaboomCtx {
* ```js
* // toggle fullscreen mode on "f"
* onKeyPress("f", (c) => {
* fullscreen(!isFullscreen())
* setFullscreen(!isFullscreen())
* })
* ```
*/
Expand Down

0 comments on commit 0afc085

Please sign in to comment.