You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Merge pull request #89716 from theromis/master
[X11] Add more details to large icon size warning
This commit is contained in:
@@ -5210,7 +5210,7 @@ void DisplayServerX11::set_icon(const Ref<Image> &p_icon) {
|
|||||||
if (g_set_icon_error) {
|
if (g_set_icon_error) {
|
||||||
g_set_icon_error = false;
|
g_set_icon_error = false;
|
||||||
|
|
||||||
WARN_PRINT("Icon too large, attempting to resize icon.");
|
WARN_PRINT(vformat("Icon too large (%dx%d), attempting to downscale icon.", w, h));
|
||||||
|
|
||||||
int new_width, new_height;
|
int new_width, new_height;
|
||||||
if (w > h) {
|
if (w > h) {
|
||||||
|
|||||||
Reference in New Issue
Block a user