mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
style: formatting and whitespaces (#7840)
This commit is contained in:
committed by
Manol Donev
parent
3b5785146f
commit
dfcbe6c319
@@ -163,7 +163,7 @@ export class ImageSource implements ImageSourceDefinition {
|
||||
|
||||
const textBounds = new android.graphics.Rect();
|
||||
paint.getTextBounds(source, 0, source.length, textBounds);
|
||||
|
||||
|
||||
const textWidth = textBounds.width();
|
||||
const textHeight = textBounds.height();
|
||||
if (textWidth > 0 && textHeight > 0) {
|
||||
@@ -319,4 +319,4 @@ export function fromFileOrResource(path: string): ImageSource {
|
||||
}
|
||||
|
||||
return fromFile(path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user