-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle events when the user profile pane is shown (#80)
Events that flow into the RoomScreen either get forwarded to the underlying timeline view or the user profile sliding pane. If the pane is currently shown, mouse/touch/tap events are now forwarded to the pane *ONLY*, and not the underlying timeline. This prevents the underlying timeline from being scrolled or clicked when it is partially "hidden" underneath the sliding pane view, which would be confusing to most users. Other events (e.g., draw events) are always forwarded to the underlying timeline. If the pane is not shown, events are also forwarded to the timeline view, as normal. Solution suggested by @jmbejar.
- Loading branch information
1 parent
a164ef2
commit a5ff746
Showing
2 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters