浏览代码

Add icon source size to warning about "too large icon dimensions" to help faster find it

Roman Vasilyev 1 年之前
父节点
当前提交
ece8685b3b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/linuxbsd/x11/display_server_x11.cpp

+ 1 - 1
platform/linuxbsd/x11/display_server_x11.cpp

@@ -5212,7 +5212,7 @@ void DisplayServerX11::set_icon(const Ref<Image> &p_icon) {
 			if (g_set_icon_error) {
 				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;
 				if (w > h) {