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

Cache the font of the slider / do not dispose colors #579

Merged
merged 1 commit into from
Mar 23, 2024

Commits on Mar 22, 2024

  1. Cache the font of the slider / do not dispose colors

    Currently the font and colors are created on each call of getTextFont /
    get...Color and as these methods are called on each render it creates
    many fonts/colors and their dispose listener.
    
    This caches the font and removes the disposal of colors as SWT no longer
    acquire native resources for colors. Beside that a new getFontSize
    method is provided so one can easily override that.
    laeubi committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    60f2b68 View commit details
    Browse the repository at this point in the history