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

Do not paint over the borders of the widget #603

Merged
merged 1 commit into from
Jun 29, 2024

Commits on Jun 29, 2024

  1. Do not paint over the borders of the widget

    Currently RectangleGroupStrategy sets the clipping to the maximum area
    the control will need. But in case where the widget size is larger than
    the area to paint (for example inside a ScrolledComposite) this will
    result in painting over other widgets (at least on linux).
    
    This now do two things:
    
     1) save the original clipping region and recover it afterwards
     2) intersect the calculated clipping region with the original to
    possibly shrink it to the are that is valid for repaint.
    laeubi committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    5fe0e5d View commit details
    Browse the repository at this point in the history