mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Made stack window bg color transparent
This commit is contained in:
parent
75e641580c
commit
d5c5a89e85
2 changed files with 2 additions and 1 deletions
|
|
@ -88,6 +88,7 @@ public class Cards extends javax.swing.JPanel {
|
|||
* @param color
|
||||
*/
|
||||
public void setBackgroundColor(Color color) {
|
||||
setBackground(color);
|
||||
cardArea.setOpaque(true);
|
||||
cardArea.setBackground(color);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -724,7 +724,7 @@ public class GamePanel extends javax.swing.JPanel {
|
|||
});
|
||||
|
||||
stack.setPreferredSize(new java.awt.Dimension(Config.dimensions.frameWidth, Config.dimensions.frameHeight + 25));
|
||||
stack.setBackground(new Color(0,0,0,0));
|
||||
stack.setBackgroundColor(new Color(0,0,0,0));
|
||||
|
||||
btnStopReplay.setIcon(new javax.swing.ImageIcon(getClass().getResource("/buttons/control_stop.png"))); // NOI18N
|
||||
btnStopReplay.addActionListener(new java.awt.event.ActionListener() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue