mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
bugfix for graphic clip
This commit is contained in:
parent
b452341b6d
commit
72fb07ad15
@ -310,6 +310,9 @@ public class Plot2D extends AbstractPlot2D {
|
||||
if (graphic.isClip()) {
|
||||
GeneralPath clipPath = getClipPath(graphic.getClipGraphic(), area);
|
||||
g.setClip(clipPath);
|
||||
if (oldClip != null) {
|
||||
g.clip(oldClip);
|
||||
}
|
||||
}
|
||||
|
||||
ColorBreak cb = graphic.getLegend();
|
||||
|
||||
@ -36,5 +36,5 @@
|
||||
</Font>
|
||||
<LookFeel DockWindowDecorated="true" LafDecorated="true" Name="FlatDarkLaf"/>
|
||||
<Figure DoubleBuffering="true"/>
|
||||
<Startup MainFormLocation="-7,-7" MainFormSize="1293,685"/>
|
||||
<Startup MainFormLocation="-7,0" MainFormSize="1363,778"/>
|
||||
</MeteoInfo>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user