We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d2fc6 commit 215b361Copy full SHA for 215b361
ui/image/image-common.ts
@@ -40,11 +40,10 @@ function onSrcPropertyChanged(data: dependencyObservable.PropertyChangeData) {
40
}
41
else if (value instanceof imageSource.ImageSource) {
42
// Support binding the imageSource trough the src propoerty
43
- image.imageSource = null;
44
image.imageSource = value;
45
46
else {
47
- image._setNativeImage(value);
+ image.imageSource = imageSource.fromNativeSource(value);
48
49
50
0 commit comments