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

Fix tooltips: metrics and positioning #377

Merged
merged 1 commit into from
May 7, 2024
Merged

Fix tooltips: metrics and positioning #377

merged 1 commit into from
May 7, 2024

Commits on May 6, 2024

  1. Fix tooltips: metrics and positioning

    This fixes the tooltip metrics defaults to something looking more like
    the IJP's, both in terms of delay and of behaviour.
    
    We now use a simplified position calculation, that is less complex than
    the custom logic we had both in terms of behaviour and in terms of code.
    It mostly piggybacks the built-in PopupPositionProviderAtPosition, but
    with a twist of never moving after being shown (like Swing tooltips do
    in the IJP).
    
    We also set a sensible delay, matching the Swing defaults of 1.2s by
    default. In the bridge, we read as many metrics properties as possible
    from the LaF/Registry.
    rock3r committed May 6, 2024
    Configuration menu
    Copy the full SHA
    90a7a5e View commit details
    Browse the repository at this point in the history