Clear image cache when tabbing out of canvas
This commit is contained in:
parent
c7024578af
commit
1f80107005
9 changed files with 32 additions and 0 deletions
|
|
@ -244,6 +244,10 @@ void World::unfocus_update() {
|
|||
return;
|
||||
}
|
||||
|
||||
void World::on_switch_out() {
|
||||
rMan.clear_display_cache();
|
||||
}
|
||||
|
||||
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