Browse Source

Log image buffer creation on finer level.

pull/235/head
weisj 4 years ago
parent
commit
dda49f082b
No known key found for this signature in database
GPG Key ID: 31124CB75461DA2A
  1. 2
      property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java

2
property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java

@ -183,7 +183,7 @@ public class DarkSVGIcon implements DerivableIcon<DarkSVGIcon>, RotateIcon, Seri
scaleY = sy;
double effectiveScaleX = loadedWithExtraScale ? scaleX * extraScale : scaleX;
double effectiveScaleY = loadedWithExtraScale ? scaleY * extraScale : scaleY;
LOGGER.fine(() -> String.format("Creating Image with size (w=%s, h=%s, scaleW=%s, scaleH=%s)for icon '%s'",
LOGGER.finer(() -> String.format("Creating Image with size (w=%s, h=%s, scaleW=%s, scaleH=%s) for icon '%s'",
getSize().width, getSize().height, effectiveScaleX, effectiveScaleX, icon.getSvgURI().toASCIIString()));
image = createImage(Scale.scale(effectiveScaleX, effectiveScaleY, getSize()));
}

Loading…
Cancel
Save