mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Redraw bugfix attempt #1.
This commit is contained in:
@@ -194,6 +194,7 @@ public class FPanel extends JPanel {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void paintComponent(final Graphics g) {
|
protected void paintComponent(final Graphics g) {
|
||||||
|
super.paintComponent(g);
|
||||||
pw = this.getWidth();
|
pw = this.getWidth();
|
||||||
ph = this.getHeight();
|
ph = this.getHeight();
|
||||||
g2d = (Graphics2D) g.create();
|
g2d = (Graphics2D) g.create();
|
||||||
|
|||||||
Reference in New Issue
Block a user