mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed broken back button behaviour on Android and updated JUCEApplicationBase::backButtonPressed() to return a bool indicating whether the back event has been handled or not to override this behaviour
This commit is contained in:
parent
f1d3ac227f
commit
937991cc83
5 changed files with 54 additions and 5 deletions
|
|
@ -108,7 +108,7 @@ public:
|
|||
mainWindow.reset (new MainAppWindow (getApplicationName()));
|
||||
}
|
||||
|
||||
void backButtonPressed() override { mainWindow->getMainComponent().getSidePanel().showOrHide (false); }
|
||||
bool backButtonPressed() override { mainWindow->getMainComponent().getSidePanel().showOrHide (false); return true; }
|
||||
void shutdown() override { mainWindow = nullptr; }
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue