Rewrote how input text box focus is decided

This commit is contained in:
Yousef Khadadeh 2026-05-07 21:48:47 +03:00
parent 1585e0aa67
commit 8b3e321ab5
41 changed files with 317 additions and 490 deletions

View file

@ -347,6 +347,12 @@ void World::input_multi_finger_motion_callback(const InputManager::MultiFingerMo
drawData.cam.input_multi_finger_motion_callback(*this, motion);
}
std::optional<InputManager::TextBoxStartInfo> World::get_text_box_start_info() {
if(!clientStillConnecting)
return drawProg.get_text_box_start_info();
return std::nullopt;
}
void World::send_chat_message(const std::string& message) {
if(!clientStillConnecting)
ownClientData->send_chat_message(ownClientData, *this, message);