@@ -255,9 +255,9 @@ export class Img extends ImageBase {
255255 const finiteWidth : boolean = widthMode === layout . EXACTLY ;
256256 const finiteHeight : boolean = heightMode === layout . EXACTLY ;
257257 this . mImageSourceAffectsLayout = ! finiteWidth || ! finiteHeight ;
258- if ( Trace . isEnabled ( ) ) {
259- CLog ( CLogTypes . info , 'onMeasure' , this . src , widthMeasureSpec , heightMeasureSpec , width , height , this . aspectRatio , image && image . imageOrientation ) ;
260- }
258+ // if (Trace.isEnabled()) {
259+ // CLog(CLogTypes.info, 'onMeasure', this.src, widthMeasureSpec, heightMeasureSpec, width, height, this.aspectRatio, image && image.imageOrientation);
260+ // }
261261 if ( image || this . aspectRatio > 0 ) {
262262 const nativeWidth = image ? layout . toDevicePixels ( image . size . width ) : 0 ;
263263 const nativeHeight = image ? layout . toDevicePixels ( image . size . height ) : 0 ;
@@ -281,7 +281,7 @@ export class Img extends ImageBase {
281281 }
282282
283283 if ( Trace . isEnabled ( ) ) {
284- CLog ( CLogTypes . info , 'onMeasure scale ' , this . src , this . aspectRatio , finiteWidth , finiteHeight , width , height , nativeWidth , nativeHeight , widthMeasureSpec , heightMeasureSpec ) ;
284+ CLog ( CLogTypes . info , 'onMeasure' , this . src , this . aspectRatio , finiteWidth , finiteHeight , width , height , nativeWidth , nativeHeight , widthMeasureSpec , heightMeasureSpec ) ;
285285 }
286286 }
287287 super . onMeasure ( widthMeasureSpec , heightMeasureSpec ) ;
0 commit comments