Skip to content

Commit

Permalink
CacheManagingDrawTask: set remeasure|invalidate flag in invalidateDan…
Browse files Browse the repository at this point in the history
…maku(..)
  • Loading branch information
ctiao committed Mar 1, 2018
1 parent 52754e2 commit 744e8f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public void addDanmaku(BaseDanmaku danmaku) {

@Override
public void invalidateDanmaku(BaseDanmaku item, boolean remeasure) {
super.invalidateDanmaku(item, remeasure);
if (mCacheManager == null) {
super.invalidateDanmaku(item, remeasure);
return;
}
mCacheManager.invalidateDanmaku(item, remeasure);
Expand Down

0 comments on commit 744e8f5

Please sign in to comment.