mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-16 06:52:21 +00:00
Changed: #1661 Slow rendering warning is optional with default to not display
This commit is contained in:
@@ -1907,7 +1907,9 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
|
||||
sw.stop();
|
||||
if (sw.getElapsedMilliseconds() > 100) {
|
||||
logger.log(Level.WARNING, "Slow rendering. {0}. frame, time={1}, {2}ms", new Object[]{frame, time, sw.getElapsedMilliseconds()});
|
||||
if (Configuration.showSlowRenderingWarning.get()) {
|
||||
logger.log(Level.WARNING, "Slow rendering. {0}. frame, time={1}, {2}ms", new Object[]{frame, time, sw.getElapsedMilliseconds()});
|
||||
}
|
||||
}
|
||||
|
||||
if (renderContext.borderImage != null) {
|
||||
|
||||
Reference in New Issue
Block a user