Skip to content

Commit 4044dba

Browse files
Add beforesitechange event to app.md
1 parent 3e6890a commit 4044dba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/app.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ app.events:on('sitechange',
337337
Available events for `app`:
338338

339339
* `'sitechange'`: When the user selects other sprite, layer, or frame.
340+
* `'beforesitechange'`: Before the user switches to other sprite, layer, or frame.
340341
* `'fgcolorchange'`: When the [Foreground color](https://www.aseprite.org/docs/color-bar/#foreground-color) in the color bar is changed.
341342
* `'bgcolorchange'`: When the [Background color](https://www.aseprite.org/docs/color-bar/#background-color) in the color bar is changed.
342343
* `'beforecommand'`: Before executing any command in the program.

0 commit comments

Comments
 (0)