disable animation on mac

This commit is contained in:
Konstantin Bulenkov
2012-02-17 11:12:42 +01:00
parent 176fe5671e
commit 0e92816850
@@ -1605,6 +1605,12 @@ public abstract class DialogWrapper {
}
private void resizeWithAnimation(final Dimension size) {
//todo[kb]: fix this PITA on Mac
if (SystemInfo.isMac) {
setSize(size.width, size.height);
return;
}
new Thread("DialogWrapper resizer") {
int time = 200;
int steps = 7;