Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
fix #104 by reverting #90
Browse files Browse the repository at this point in the history
  • Loading branch information
shemnon committed Nov 19, 2012
1 parent bb642e8 commit eb8ea43
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ protected JComponent createNorthPane(JInternalFrame w) {

@Override
protected void installComponents() {
if (!SubstanceCoreUtilities.isRoundedCorners(frame)) {
frame.setOpaque(false);
}
frame.setOpaque(!SubstanceCoreUtilities.isRoundedCorners(frame));
super.installComponents();
}

Expand Down Expand Up @@ -151,9 +149,7 @@ public void propertyChange(PropertyChangeEvent evt) {
} else if (SubstanceLookAndFeel.WINDOW_ROUNDED_CORNERS.equals(propertyName)
|| JInternalFrame.IS_MAXIMUM_PROPERTY.equals(propertyName))
{
if (!SubstanceCoreUtilities.isRoundedCorners(frame)) {
frame.setOpaque(false);
}
frame.setOpaque(!SubstanceCoreUtilities.isRoundedCorners(frame));
}
}
};
Expand Down

0 comments on commit eb8ea43

Please sign in to comment.