Skip to content

Fix pad border highlight in GL mode#21911

Merged
linev merged 1 commit intoroot-project:masterfrom
linev:fix_canvas_flush
Apr 15, 2026
Merged

Fix pad border highlight in GL mode#21911
linev merged 1 commit intoroot-project:masterfrom
linev:fix_canvas_flush

Conversation

@linev
Copy link
Copy Markdown
Member

@linev linev commented Apr 14, 2026

Was drawn before at the very end and therefore render order was not correct. If active pad was hidden by other pad border was drawn on the top anyway.

Can be generalized also for normal painting later

Was drawn before at the very end and therefore render order was not correct. If active pad was hidden by other pad border was drawn on the top anyway.
@linev linev requested a review from bellenot April 14, 2026 14:30
@linev linev self-assigned this Apr 14, 2026
@linev linev requested a review from couet as a code owner April 14, 2026 14:30
Copy link
Copy Markdown
Member

@bellenot bellenot left a comment

Choose a reason for hiding this comment

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

LGTM (at least it works with your example on Windows)

Comment thread graf2d/gpad/inc/TCanvas.h
@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 2h 16m 30s ⏱️
 3 830 tests  3 829 ✅  1 💤 0 ❌
75 611 runs  75 593 ✅ 18 💤 0 ❌

Results for commit 80a893b.

@linev linev merged commit 4b20559 into root-project:master Apr 15, 2026
36 checks passed
@linev linev deleted the fix_canvas_flush branch April 15, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants