Document special root container in Menu

This commit is contained in:
Sasha Koshka 2024-09-12 15:01:14 -04:00
parent 5b8e401e60
commit 12b855ba24

View File

@ -9,6 +9,8 @@ import "git.tebibyte.media/tomo/objects/layouts"
// Menu is a menu window.
//
// Sub-components:
// - Root is the root of the window. It is differentiated from a normal Root
// object in that it has the [menu] tag.
// - TearLine is a horizontal line at the top of the menu that, when clicked,
// causes the menu to be "torn off" into a movable window.
type Menu struct {