修复处于Rom列表UI中时,如果Rom列表为空,呼出侧边栏报错的问题,在这种情况下将无法呼出侧边栏 #89

Merged
sin365 merged 10 commits from Alienjack/AxibugEmuOnline:master into master 2025-01-24 15:43:18 +08:00
Showing only changes of commit ae40e70f9c - Show all commits

View File

@ -41,10 +41,16 @@ namespace AxibugEmuOnline.Client
romPreviewWraper = new AlphaWraper(XMBCG_For_RomPreviewBigPic, RomPreviewBigPic.GetComponent<CanvasGroup>(), false);
var uiEffect = RomPreviewBigPic.GetComponent<UIEffect>();
if (Application.platform == RuntimePlatform.PSP2)
if (Application.platform == RuntimePlatform.PSP2)
{
uiEffect.blurMode = BlurMode.FastBlur;
else
uiEffect.blurFactor = 0.6f;
}
else
{
uiEffect.blurMode = BlurMode.DetailBlur;
uiEffect.blurFactor = 0.6f;
}
}
private void Start()