This is good enough

This commit is contained in:
2026-10-02 22:38:39 -03:00
parent 4fb392adae
commit 50d47cedef
4 changed files with 35 additions and 6 deletions
+4
View File
@@ -86,6 +86,10 @@ Overlays get the mouse before the slots:
- While a `g.text_input` has the keyboard, keybinds like the inventory key don't fire. Text inputs edit like chat:
selecting with shift or the mouse, ctrl+a, and copy, cut and paste.
`hides_screen()`, if the overlay has one, is asked every frame before `on_render`. While it returns `true` the screen
underneath isn't drawn and its slots don't react to the mouse, including the panels mods add outside its box, like the
curios slots. The recipe viewer does this while it shows a recipe in the screen's place.
`on_close()`, if the overlay has one, runs when the screen closes for any reason, like the player closing their
inventory. The recipe viewer goes back to its item list then.