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.
A
Antonio Scandurra committed
b9ed327b944556cbe33682685ca7b1aa9f66413c
Parent: 80ad59a