Skip to content
Snippets Groups Projects
Commit 8c0929f0 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

in case multiple repaints are requested, execute the coarsest one

parent 73434a90
Branches
Tags
No related merge requests found
......@@ -453,6 +453,8 @@ public class MultiResolutionRenderer
bufferedImage = null;
p = projector;
}
requestedScreenScaleIndex = 0;
}
// try rendering
......@@ -530,7 +532,8 @@ public class MultiResolutionRenderer
{
if ( renderingMayBeCancelled && projector != null )
projector.cancel();
requestedScreenScaleIndex = screenScaleIndex;
if ( screenScaleIndex > requestedScreenScaleIndex )
requestedScreenScaleIndex = screenScaleIndex;
painterThread.requestRepaint();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment