mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-11 12:25:26 +01:00
GUI: Use the client's fonts for 'Open URL?' dialogues
This popup is related to user safety, thus it should not use server-provided font media files.
This commit is contained in:
@@ -316,6 +316,8 @@ public:
|
||||
spec.bold = true;
|
||||
else if (modes[i] == "italic")
|
||||
spec.italic = true;
|
||||
else if (modes[i] == "_no_server_media") // for internal use only
|
||||
spec.allow_server_media = false;
|
||||
}
|
||||
|
||||
if (!size.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user