Skip to content

Fix bad merge in canvas resize handling#14

Merged
bnavetta merged 1 commit into
warpdotdev/v0.30.xfrom
ben/fix-resize-redraw
May 18, 2026
Merged

Fix bad merge in canvas resize handling#14
bnavetta merged 1 commit into
warpdotdev/v0.30.xfrom
ben/fix-resize-redraw

Conversation

@bnavetta
Copy link
Copy Markdown

Updating to v0.30.13 in #13 broke compilation due to a clash between #11 and upstream rust-windowing#3790.

To prevent double-borrows, we changed the scope of the canvas borrow, making it unavailable when calling requestAnimationFrame. The fix is pretty straightforward - we re-borrow the canvas briefly to request re-rendering.

Tested by running Warp-on-Web locally.

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality

@bnavetta bnavetta requested a review from alokedesai May 18, 2026 13:31
@bnavetta bnavetta merged commit a4e0ecb into warpdotdev/v0.30.x May 18, 2026
37 of 57 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.

3 participants