Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Minor datatip fixes #1347

Closed
wants to merge 1 commit into from
Closed

Minor datatip fixes #1347

wants to merge 1 commit into from

Conversation

hansonw
Copy link
Contributor

@hansonw hansonw commented Oct 19, 2017

  1. On Windows, modifier keys are also subject to key repeat. So we shouldn't try to repeatedly fetch modifier datatips (datatip flickers when keybind held atom-ide-ui#20)

  2. We try to blacklist the current mouse position in certain scenarios. However, since moving the mouse clears the blacklist, it's only safe to set this once. getBufferPosition forces a layout recalculation so it's expensive! (Optimize DatatipManager._hideOrCancel atom-ide-ui#94)

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hansonw has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

hansonw added a commit to facebookarchive/atom-ide-ui that referenced this pull request Oct 19, 2017
Summary:
1) On Windows, modifier keys are also subject to key repeat. So we shouldn't try to repeatedly fetch modifier datatips (#20)
2) We try to blacklist the current mouse position in certain scenarios. However, since moving the mouse clears the blacklist, it's only safe to set this once. `getBufferPosition` forces a layout recalculation so it's expensive! (#94)
Closes facebookarchive/nuclide#1347

Reviewed By: wbinnssmith

Differential Revision: D6097902

Pulled By: hansonw

fbshipit-source-id: c1bd27900a0604d7654abfc0aa15baabf740cf77
@hansonw hansonw deleted the datatip-fixes branch April 4, 2018 04:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants