mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix audio focus issue by tracking the cause of lost focus.
Fixes #21643
This commit is contained in:
1 parent
d4bd7c604c
commit
3a599c4714
16 files changed
+95
-70
No files matched your search
+1
-1
@@ -104,7 +104,7 @@ void ChatMenu::CreateSubviews(const Bounds &screenBounds) {
|
||||
void ChatMenu::OnSubmitMessage(UI::EventParams &e) {
|
||||
std::string chat = chatEdit_->GetText();
|
||||
chatEdit_->SetText("");
|
||||
chatEdit_->SetFocus();
|
||||
chatEdit_->SetFocus(UI::FocusFlags::CAUSE_FORCED);
|
||||
sendChat(chat);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user