Change wxOSX ShowWithEffect() delay to 200ms

Change the animation delay from ridiculously long (half a second) to
somewhat more reasonable 200ms to bring it in line with Windows per the
comment in this code. Feels more similar to native macOS animations now
too.
This commit is contained in:
Václav Slavík 2016-10-21 17:44:24 +02:00
parent 7546989c44
commit 552940b547

View File

@ -2044,7 +2044,7 @@ wxWidgetCocoaImpl::ShowViewOrWindowWithEffect(wxWindow *win,
{
// what is a good default duration? Windows uses 200ms, Web frameworks
// use anything from 250ms to 1s... choose something in the middle
timeout = 500;
timeout = 200;
}
[anim setDuration:timeout/1000.]; // duration is in seconds here