mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
不启用功能的时候不计算切换动画
This commit is contained in:
parent
c2ef4de31b
commit
7d7d8e7774
@ -2092,18 +2092,20 @@ namespace VPet_Simulator.Windows
|
|||||||
Main.Display(graphName, imageSource, () =>
|
Main.Display(graphName, imageSource, () =>
|
||||||
{
|
{
|
||||||
showeatanm = true;
|
showeatanm = true;
|
||||||
var newmod = Core.Save.CalMode();
|
if (Core.Controller.EnableFunction)
|
||||||
if (Core.Save.Mode != newmod)
|
|
||||||
{
|
{
|
||||||
//魔改下参数以免不播放切换动画
|
var newmod = Core.Save.CalMode();
|
||||||
Main.DisplayType.Type = GraphType.Default;
|
if (Core.Save.Mode != newmod)
|
||||||
//切换显示动画
|
{
|
||||||
Main.PlaySwitchAnimat(Core.Save.Mode, newmod);
|
//魔改下参数以免不播放切换动画
|
||||||
Core.Save.Mode = newmod;
|
Main.DisplayType.Type = GraphType.Default;
|
||||||
|
//切换显示动画
|
||||||
|
Main.PlaySwitchAnimat(Core.Save.Mode, newmod);
|
||||||
|
Core.Save.Mode = newmod;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
Main.DisplayToNomal();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
Main.DisplayToNomal();
|
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user