From 744e8f54bbffb8a441ca0ddbc5672d26dc1020c6 Mon Sep 17 00:00:00 2001 From: ctiao Date: Thu, 1 Mar 2018 12:01:08 +0800 Subject: [PATCH] CacheManagingDrawTask: set remeasure|invalidate flag in invalidateDanmaku(..) --- .../master/flame/danmaku/controller/CacheManagingDrawTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DanmakuFlameMaster/src/main/java/master/flame/danmaku/controller/CacheManagingDrawTask.java b/DanmakuFlameMaster/src/main/java/master/flame/danmaku/controller/CacheManagingDrawTask.java index 0a800828..7d599713 100644 --- a/DanmakuFlameMaster/src/main/java/master/flame/danmaku/controller/CacheManagingDrawTask.java +++ b/DanmakuFlameMaster/src/main/java/master/flame/danmaku/controller/CacheManagingDrawTask.java @@ -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);