#1156 9-slice scaling - better stroke scaling

This commit is contained in:
Jindra Petřík
2016-02-24 21:14:14 +01:00
parent 0beca77f48
commit 8e62079f55
22 changed files with 495 additions and 320 deletions

View File

@@ -364,7 +364,7 @@ public class FolderPreviewPanel extends JPanel {
image.fillTransparent();
if (imgSrc == null) {
DrawableTag drawable = (DrawableTag) treeItem;
drawable.toImage(0, 0, 0, new RenderContext(), image, false, m, new Matrix(), m, null);
drawable.toImage(0, 0, 0, new RenderContext(), image, false, m, m, m, null);
} else {
Graphics2D g = (Graphics2D) image.getGraphics();
g.setTransform(m.toTransform());