mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
disable logging in PaintUtil.getScale - it spams log file when diff window is opened
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user