Commit 9fdef4bf authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 96320e5d
Pipeline #5197 canceled with stage
in 3 minutes and 52 seconds
......@@ -29,13 +29,13 @@ public class BackGroundPic : Servant
if (texture.width <= texture.height * Screen.width / Screen.height)
{
// 图窄屏幕宽,用宽度
component.width = Utils.UIWidth();
component.width = Utils.UIWidth() + 2;
component.height = component.width * texture.height / texture.width;
}
else
{
// 图宽屏幕窄,用高度
component.height = Utils.UIHeight();
component.height = Utils.UIHeight() + 2;
component.width = component.height * texture.width / texture.height;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment