disable logging in PaintUtil.getScale - it spams log file when diff window is opened

This commit is contained in:
Dmitry Batrak
2018-07-20 12:29:11 +03:00
parent 322524484e
commit 1d0448eba0
@@ -202,7 +202,7 @@ public class PaintUtil {
// exclude the user scale, unless it's zero
double scale = ctx.getScale(USR_SCALE) == 0 ? 0 : ctx.getScale(PIX_SCALE) / ctx.getScale(USR_SCALE);
if (scale <= 0) {
Logger.getInstance(PaintUtil.class).warn("bad scale in the context: " + ctx.toString(), new Throwable());
//Logger.getInstance(PaintUtil.class).warn("bad scale in the context: " + ctx.toString(), new Throwable());
}
return scale;
}