Replace usages of `is_parent_view_focused` with `is_self_focused`

Previously, this was used because we didn't have access to the current
view and `EventContext` was an element-only abstraction. Now that the
`EventContext` wraps the current view's `ViewContext` we can simply check
for the view's focus and avoid querying ancestors.
b9ed327b94Antonio Scandurra committed on 5/5/2023, 8:08:22 AMparent80ad59a
2 files changedLine totals unavailable