Skip to content

Conversation

@stephensu66
Copy link

No description provided.

delete this.imageCache[targetImageSrc];
}

}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里为什么要添加这段代码吗?不添加有什么问题呢?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里旋转后,新的图片 thumbnail 更新进来了,在图片缓存中增加了新的thumbnail。旧的thumbnail用不到了。所以从缓存中删掉了。

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