does this fix the weird hover background color effects??

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12418 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Wolf Posdorfer
2011-05-24 12:20:56 +00:00
committed by wolf.posdorfer
parent 358412aec1
commit 30369ccbe1
2 changed files with 3 additions and 4 deletions

Binary file not shown.

View File

@ -258,12 +258,9 @@ public class RoarPreferencePanel extends JPanel implements ChangeListener {
// ====================================================================================
// ====================================================================================
public void paintComponent(Graphics g) {
// CENTER LOGO
// int imgwi = _backgroundimage.getWidth(null);
// int imghe = _backgroundimage.getHeight(null);
// int x = this.getSize().width;
// x = (x/2)-(imgwi/2) < 0 ? 0 : (x/2)-(imgwi/2) ;
//
@ -272,9 +269,11 @@ public class RoarPreferencePanel extends JPanel implements ChangeListener {
// LOGO in bottom right corner
int x = this.getSize().width - _backgroundimage.getWidth(null);
int y = this.getSize().height - _backgroundimage.getHeight(null);
super.paintComponent(g);
g.drawImage(_backgroundimage, x, y, this);
}