fixed keybord selection for quit game play
This commit is contained in:
@ -586,6 +586,7 @@ bool ApplicationManager::initializeGame() {
|
||||
m_stateContext.hoveredButton = &m_hoveredButton;
|
||||
m_stateContext.showSettingsPopup = &m_showSettingsPopup;
|
||||
m_stateContext.showExitConfirmPopup = &m_showExitConfirmPopup;
|
||||
m_stateContext.exitPopupSelectedButton = &m_exitPopupSelectedButton;
|
||||
|
||||
// Create state instances
|
||||
m_loadingState = std::make_unique<LoadingState>(m_stateContext);
|
||||
@ -1048,7 +1049,8 @@ void ApplicationManager::setupStateHandlers() {
|
||||
logicalScale,
|
||||
static_cast<float>(winW),
|
||||
static_cast<float>(winH),
|
||||
m_showExitConfirmPopup
|
||||
m_showExitConfirmPopup,
|
||||
m_exitPopupSelectedButton
|
||||
);
|
||||
|
||||
// Reset viewport
|
||||
|
||||
Reference in New Issue
Block a user