mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-21 00:08:19 +00:00
fcd219bf22
Previously the same message popup context was used for all error messages. While multiple message popups could be opened at the same time, the message would always be the same for all, as the same buffer was used for all popups. This is fixed by creating and destroying the message popup contexts dynamically, so there can be any number of message popups with different messages. Additionally, if a popup with an identical message is already open, it will first be closed and then reopened at the new position, to prevent duplicate message popups. |
||
---|---|---|
.. | ||
auto_map.cpp | ||
auto_map.h | ||
editor.cpp | ||
editor.h | ||
explanations.cpp | ||
io.cpp | ||
layer_game.cpp | ||
layer_quads.cpp | ||
layer_sounds.cpp | ||
layer_tiles.cpp | ||
popups.cpp |