mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Decrease image size to fit on test device
This commit is contained in:
@@ -341,7 +341,7 @@ export var test_DimensionsAreRoundedAfterScale = function() {
|
||||
image.src = "~/ui/image/700x50.png";
|
||||
|
||||
let density = utils.layout.getDisplayDensity();
|
||||
let limit = 414;
|
||||
let limit = 320;
|
||||
host.width = limit / density;
|
||||
host.height = limit / density;
|
||||
host.addChild(image);
|
||||
|
||||
Reference in New Issue
Block a user