OSX idle throttle
This commit is contained in:
parent
e04b12662f
commit
709ab4b7d6
|
@ -775,6 +775,9 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
|||
if (this->IsVisible()) {
|
||||
waterfallCanvas->DoPaint();
|
||||
demodWaterfallCanvas->DoPaint();
|
||||
#ifdef __APPLE__
|
||||
usleep(5000);
|
||||
#endif
|
||||
} else {
|
||||
#ifndef _WIN32
|
||||
usleep(15000);
|
||||
|
|
Loading…
Reference in New Issue