mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Should have fixed blinking issue and synchronization stuff for mouse over card displaying.
This commit is contained in:
parent
e893935ce6
commit
7ac7fe1087
2 changed files with 17 additions and 13 deletions
|
|
@ -18,10 +18,12 @@ public class GuiDisplayUtil {
|
|||
|
||||
public static JXPanel getDescription(CardView card, int width, int height) {
|
||||
JXPanel descriptionPanel = new JXPanel();
|
||||
descriptionPanel.setAlpha(.8f);
|
||||
|
||||
//descriptionPanel.setAlpha(.8f);
|
||||
descriptionPanel.setBounds(0, 0, width, height);
|
||||
descriptionPanel.setVisible(false);
|
||||
descriptionPanel.setLayout(null);
|
||||
|
||||
//descriptionPanel.setBorder(BorderFactory.createLineBorder(Color.green));
|
||||
|
||||
JButton j = new JButton("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue