浏览代码

fix a typo.

/main
kg 6 年前
当前提交
e4f0d9cb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/painting/image_cache.cs

2
Runtime/painting/image_cache.cs


D.assert(this._pendingImages.ContainsKey(key));
this._pendingImages.Remove(key);
int imageSize = info?.image == null ? 0 : info.image.width & (info.image.height * 4);
int imageSize = info?.image == null ? 0 : info.image.width * info.image.height * 4;
_CachedImage cachedImage = new _CachedImage {
completer = result,
sizeBytes = imageSize,

正在加载...
取消
保存