mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: update tslint rules (#7391)
This commit is contained in:
@@ -14,6 +14,7 @@ export class Image extends ImageBase {
|
||||
const imageView = UIImageView.new();
|
||||
imageView.contentMode = UIViewContentMode.ScaleAspectFit;
|
||||
imageView.userInteractionEnabled = true;
|
||||
|
||||
return imageView;
|
||||
}
|
||||
|
||||
@@ -118,6 +119,7 @@ export class Image extends ImageBase {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return { width: scaleW, height: scaleH };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user