Document torn tag

This commit is contained in:
Sasha Koshka 2024-09-12 15:04:38 -04:00
parent 12b855ba24
commit ffb6e9fb95

View File

@ -10,7 +10,8 @@ import "git.tebibyte.media/tomo/objects/layouts"
//
// Sub-components:
// - Root is the root of the window. It is differentiated from a normal Root
// object in that it has the [menu] tag.
// object in that it has the [menu] tag. If the menu has been torn off, it
// will have the [torn] 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 {