Skip to content

fix(tldraw): update drawing background color for infinite whiteboard#68

Merged
kepstin merged 3 commits intobigbluebutton:mainfrom
germanocaumo:infinite-whiteboard-background
Jan 19, 2026
Merged

fix(tldraw): update drawing background color for infinite whiteboard#68
kepstin merged 3 commits intobigbluebutton:mainfrom
germanocaumo:infinite-whiteboard-background

Conversation

@germanocaumo
Copy link
Contributor

Match the tldraw client background color when infinite whiteboard is used (camera moved outside slide).

Match the client background color when infinite whiteboard is used (camera moved outside slide).
@germanocaumo germanocaumo requested a review from kepstin November 11, 2025 09:17
* Fix white background for image uploads to only be drawn in the image
  area
* Draw the tldraw infinite whiteboard background as part of the
  pattern rather than re-drawing it separately each time
@kepstin
Copy link
Contributor

kepstin commented Jan 19, 2026

@germanocaumo I've made some changes in the PR in e52cf62 - specifically:

  • I moved the code so the background is saved in the "pattern" rather than drawn separately
  • I've re-used the apply_slide_transform method rather than manually apply the same transform and clipping
  • I've fixed the Image drawing code to correctly only draw the white background behind the area the image covers

Here's a screenshot demonstrating the old background color outside the presenter-visible area, and the tldraw canvas background outside the slide area, everything seems to be working correctly.

mpv-shot0001

@kepstin kepstin merged commit 2104bf1 into bigbluebutton:main Jan 19, 2026
4 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.

2 participants