This commit is contained in:
martins 2022-10-20 11:28:28 +02:00
parent f988d9daf9
commit 142e1574eb

View File

@ -50,7 +50,7 @@ public class BoutonsMenu extends JComponent{
}
// maintenant on dessine ce que l'on veut
if(this.survol==false){
secondPinceau.drawImage(this.img, 5, 5, this.getWidth()-5, this.getHeight()-5, this);
secondPinceau.drawImage(this.img, 5, 5, this.getWidth()-10, this.getHeight()-10, this);
}else{
secondPinceau.drawImage(this.img, 0, 0, this.getWidth(), this.getHeight(), this);
}