mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Commented out the part in drawBackgroundTexture that causes the background artifacts.
This commit is contained in:
@@ -244,8 +244,8 @@ public class FPanel extends JPanel {
|
||||
|
||||
private void drawBackgroundTexture(final Graphics2D g2d0) {
|
||||
Rectangle oldClipBounds = g2d0.getClipBounds();
|
||||
clip = new Area(new RoundRectangle2D.Float(0, 0, pnlW, pnlH, cornerDiameter, cornerDiameter));
|
||||
g2d0.setClip(clip);
|
||||
//clip = new Area(new RoundRectangle2D.Float(0, 0, pnlW, pnlH, cornerDiameter, cornerDiameter));
|
||||
//g2d0.setClip(clip);
|
||||
|
||||
this.tempX = 0;
|
||||
this.tempY = 0;
|
||||
|
||||
Reference in New Issue
Block a user