mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[mage.client] because of slowness, turned off all foil animation for cards except bigCard. Changed range (left and right color offset) of the effect.
This commit is contained in:
parent
5683a8c719
commit
b76fa3db0d
3 changed files with 18 additions and 6 deletions
|
|
@ -199,13 +199,14 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
|
|||
public void setFoil(boolean foil) {
|
||||
this.isFoil = foil;
|
||||
if (foil) {
|
||||
/*BufferedImage source = BufferedImageBuilder.bufferImage(imagePanel.getSrcImage());
|
||||
BufferedImage source = BufferedImageBuilder.bufferImage(imagePanel.getSrcImage());
|
||||
HueFilter filter = FilterFactory.getHueFilter();
|
||||
filter.setHue(0.1sf);
|
||||
filter.setHue(0.1f);
|
||||
BufferedImage dest = filter.filter(source, null);
|
||||
imagePanel.setImage(dest);
|
||||
imagePanel.repaint();*/
|
||||
imagePanel.repaint();
|
||||
|
||||
/*
|
||||
Thread thread = new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
@ -238,7 +239,7 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
|
|||
});
|
||||
thread.setDaemon(false);
|
||||
thread.start();
|
||||
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue