Skip to content
Discussion options

You must be logged in to vote

Keep an eye out for #591. With that being said, some of the concerns you've raised I think are being addressed. Additionally, see charmbracelet/bubbletea#1549.

The combo of both, once complete, should make interacting with layers easier, for more complex apps. The newest planned changes include layer definitions themselves only being relative, but when combined into a compositor, being calculated in an absolute fashion, so you can use the new OnMouse callback (previously, a canvas would handle hit detection using Hit(x. y int) (layerId string). That solution means you don't have to deal with absolute coordinates, and only relative coordinates to your layer.

Is saving layers in a model an…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alexanderaeppli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants