mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 21:40:46 +00:00
Fixed Shape not clipped when clip area ouside of view
This commit is contained in:
@@ -660,10 +660,12 @@ public class Timeline {
|
||||
fg.drawRect((int) (viewRectZoom.xMin / SWF.unitDivisor + 5), (int) (viewRectZoom.yMin / SWF.unitDivisor + 5), (int) (viewRectZoom.getWidth() / SWF.unitDivisor - 5), (int) (viewRectZoom.getHeight() / SWF.unitDivisor - 5));
|
||||
*/
|
||||
if (!viewRectZoom.intersects(fullRect)) {
|
||||
//System.err.println("hidden " + layer.characterId);
|
||||
if (clipDepth > -1) {
|
||||
Clip clip = new Clip(new Area(), clipDepth);
|
||||
clips.add(clip);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
strokeTransform = strokeTransform.concatenate(layerMatrix);
|
||||
|
||||
boolean cacheAsBitmap = layer.cacheAsBitmap() && layer.placeObjectTag != null && drawable.isSingleFrame();
|
||||
|
||||
Reference in New Issue
Block a user