为拖动添加容错

This commit is contained in:
ZouJin 2024-04-01 18:21:51 +08:00
parent 307e58f7ae
commit 3280b52589

View File

@ -57,7 +57,11 @@ namespace VPet_Simulator.Windows
{
try
{
DragMove();
try
{
DragMove();
}
catch { }
isdragmove = Opacity == 0.8;
Cursor = Cursors.Hand;
Opacity = 1;