mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
disable animation on mac
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user