Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Revert inputInFocusedRegion; Add mkTile so that custom pane functions can be used to build layouts #72

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

ali-abrar
Copy link
Member

No description provided.

@ali-abrar
Copy link
Member Author

@minimapletinytools as I mentioned in my email, the current implementation of inputInFocusedRegion seems to drop a lot of events. Especially noticeable when you try to use the scrollwheel for some reason.

@ali-abrar
Copy link
Member Author

But to recover the existing behavior (at least until we figure out a better approach) have a look at the changelog.

@ali-abrar
Copy link
Member Author

myTile :: (MonadFix m, MonadHold t m, HasInput t m, HasFocus t m, HasLayout t m, HasImageWriter t m, HasDisplayRegion t m, HasFocusReader t m)
  => Dynamic t Constraint
  -> m a
  -> m a
myTile c = fmap snd . mkTile (mkPane inputStartedInFocusedRegion)

@ali-abrar ali-abrar changed the title Revert inputInFocusedRegion; Add mkTile so that custom pane functions can be used to build layouts WIP: Revert inputInFocusedRegion; Add mkTile so that custom pane functions can be used to build layouts Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant