Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix formatting
  • Loading branch information
harryterkelsen committed Jan 30, 2025
commit b682747511e8b0be667ce2c62205e92014cb741c
Original file line number Diff line number Diff line change
Expand Up @@ -948,8 +948,9 @@ class BitmapCanvas extends EngineCanvas {
// in the first place.
paragraph.canDrawOnCanvas &&
// Cannot composite if there's no bitmap canvas to composite into.
// Creating a new bitmap canvas just to draw text doesn't make sense.
_canvasPool.hasCanvas &&
// Creating a new bitmap canvas just to draw text doesn't make sense.
_canvasPool
.hasCanvas &&
!_childOverdraw &&
// Bitmap canvas introduces correctness issues in the presence of SVG
// filters, so prefer plain HTML in this case.
Expand Down