mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48: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) {
|
private void drawBackgroundTexture(final Graphics2D g2d0) {
|
||||||
Rectangle oldClipBounds = g2d0.getClipBounds();
|
Rectangle oldClipBounds = g2d0.getClipBounds();
|
||||||
clip = new Area(new RoundRectangle2D.Float(0, 0, pnlW, pnlH, cornerDiameter, cornerDiameter));
|
//clip = new Area(new RoundRectangle2D.Float(0, 0, pnlW, pnlH, cornerDiameter, cornerDiameter));
|
||||||
g2d0.setClip(clip);
|
//g2d0.setClip(clip);
|
||||||
|
|
||||||
this.tempX = 0;
|
this.tempX = 0;
|
||||||
this.tempY = 0;
|
this.tempY = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user