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:
parent
7546989c44
commit
552940b547
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user