Skip to content

Commit

Permalink
Add optimizations check in PagePart
Browse files Browse the repository at this point in the history
  • Loading branch information
max-kammerer committed May 27, 2024
1 parent 991e5b7 commit d361b48
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ data class PagePart(val absPartRect: Rect) {

info.mutex.lock()
try {
if (marker != opMarker || !coroutineContext.isActive) return

//TODO: join bitmap
rendTmp.set(absPartRect)
if (rendTmp.intersect(requestedArea)) {
Expand Down

0 comments on commit d361b48

Please sign in to comment.