Skip to content

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.

2 participants