No more stack overflow

This commit is contained in:
Sasha Koshka 2023-04-04 17:15:57 -04:00
parent cbdebc7f9f
commit 8db8fab14a

View File

@ -184,7 +184,7 @@ func (element *ScrollContainer) HandleKeyDown (key input.Key, modifiers input.Mo
viewport := element.child.ScrollViewportBounds() viewport := element.child.ScrollViewportBounds()
element.HandleScroll(0, 0, 0, float64(viewport.Dy())) element.HandleScroll(0, 0, 0, float64(viewport.Dy()))
default: default:
element.HandleKeyDown(key, modifiers) element.Propagator.HandleKeyDown(key, modifiers)
} }
} }