Skip to content

Respect artboard clipping when computing canvas scrollbars#3387

Merged
Keavon merged 1 commit intoGraphiteEditor:masterfrom
ashishmohapatra240:fix/artboard-clipping-scrollbars
Feb 17, 2026
Merged

Respect artboard clipping when computing canvas scrollbars#3387
Keavon merged 1 commit intoGraphiteEditor:masterfrom
ashishmohapatra240:fix/artboard-clipping-scrollbars

Conversation

@ashishmohapatra240
Copy link
Contributor

Fixes #2846

Added NetworkInterface::document_bounds_viewport_space(include_artboards) that converts clipping‑aware document bounds into viewport space, and updated RenderScrollbars to use the new helper so scroll extents respect artboard clipping.

Please check if this is the intended behaviour.

Graphite4.mp4

@TrueDoctor
Copy link
Member

!build

@github-actions
Copy link

📦 Build Complete for a0a38df
https://06023035.graphite.pages.dev

@ashishmohapatra240
Copy link
Contributor Author

I think the build works fine @TrueDoctor

@Keavon Keavon force-pushed the fix/artboard-clipping-scrollbars branch from a73582c to 70ba8ee Compare February 17, 2026 00:11
@Keavon
Copy link
Member

Keavon commented Feb 17, 2026

!build

@github-actions
Copy link

📦 Build Complete for 70ba8ee
https://388ab5b6.graphite.pages.dev

@Keavon Keavon enabled auto-merge (squash) February 17, 2026 00:24
Copy link
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

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

Nice and clean, thank you. Apologies for forgetting about this!

@Keavon Keavon merged commit 723f7b1 into GraphiteEditor:master Feb 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Canvas scrollbars should respect artboard clipping

3 participants