Scroll container mouse pass through

This commit is contained in:
Sasha Koshka
2023-01-19 18:03:50 -05:00
parent 71d50cab4b
commit 9c37cb8fef
3 changed files with 34 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ func run () {
textBox := basic.NewTextBox("", "sample text sample text")
scrollContainer := basic.NewScrollContainer(true, true)
scrollContainer.Adopt(textBox)
container.Adopt(scrollContainer, false)
container.Adopt(scrollContainer, true)
window.OnClose(tomo.Stop)
window.Show()