Rewrote how input text box focus is decided
This commit is contained in:
parent
1585e0aa67
commit
8b3e321ab5
41 changed files with 317 additions and 490 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue