Skip to content

Commit 0886e7e

Browse files
authored
fix getGalleryAssets (microsoft#10925)
1 parent 36ff4ac commit 0886e7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pxtlib/tilemap.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ namespace pxt {
985985
public getGalleryAssets(type: AssetType.Json): JsonAsset[];
986986
public getGalleryAssets(type: AssetType): Asset[];
987987
public getGalleryAssets(type: AssetType) {
988-
return this.getAssetCollection(type).getSnapshot();
988+
return this.getAssetCollection(type, true).getSnapshot();
989989
}
990990

991991
public lookupBlockAsset(assetType: AssetType.Image, blockID: string): ProjectImage;

0 commit comments

Comments
 (0)