Skip to content

Commit 096ccc5

Browse files
committed
fix: aspectFill not working
1 parent 66cbf3c commit 096ccc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image/index-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const srcProperty = new Property<ImageBase, string | ImageSource | ImageA
135135
export const lowerResSrcProperty = new Property<ImageBase, string>({ name: 'lowerResSrc' });
136136
export const placeholderImageUriProperty = new Property<ImageBase, string>({ name: 'placeholderImageUri' });
137137
export const failureImageUriProperty = new Property<ImageBase, string>({ name: 'failureImageUri' });
138-
export const stretchProperty = new Property<ImageBase, string>({ name: 'stretch', defaultValue: 'aspectFill' });
138+
export const stretchProperty = new Property<ImageBase, string>({ name: 'stretch' });
139139
export const backgroundUriProperty = new Property<ImageBase, string>({ name: 'backgroundUri' });
140140
export const progressiveRenderingEnabledProperty = new Property<ImageBase, boolean>({ name: 'progressiveRenderingEnabled', valueConverter: booleanConverter });
141141
export const localThumbnailPreviewsEnabledProperty = new Property<ImageBase, boolean>({ name: 'localThumbnailPreviewsEnabled', valueConverter: booleanConverter });

0 commit comments

Comments
 (0)