Browse Source

Update ImageBitmapLoader.js

image-bitmap: looks better than imageBitmap: in this case
mrdoob 8 tháng trước cách đây
mục cha
commit
ee327fd8e1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/loaders/ImageBitmapLoader.js

+ 1 - 1
src/loaders/ImageBitmapLoader.js

@@ -102,7 +102,7 @@ class ImageBitmapLoader extends Loader {
 
 
 		const scope = this;
 		const scope = this;
 
 
-		const cached = Cache.get( `imageBitmap:${url}` );
+		const cached = Cache.get( `image-bitmap:${url}` );
 
 
 		if ( cached !== undefined ) {
 		if ( cached !== undefined ) {
 
 

粤ICP备19079148号