Skip to content

Commit 579b3d8

Browse files
committed
fix tile gallery not showing up when editing tile
1 parent 796b181 commit 579b3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/components/ImageFieldEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class ImageFieldEditor<U extends pxt.Asset> extends React.Component<Image
8080

8181
let showHeader = headerVisible;
8282
// If there is no asset, show the gallery to prevent changing shape when it's added
83-
let showGallery = !this.props.isMusicEditor && (!this.asset || !editingTile);
83+
let showGallery = !this.props.isMusicEditor && (!this.asset || editingTile);
8484
const showMyAssets = !hideMyAssets && !editingTile;
8585

8686
if (this.asset && !this.galleryAssets && showGallery) {

0 commit comments

Comments
 (0)