mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
为拖动添加容错
This commit is contained in:
parent
307e58f7ae
commit
3280b52589
@ -54,10 +54,14 @@ namespace VPet_Simulator.Windows
|
|||||||
Dispatcher.Invoke(() =>
|
Dispatcher.Invoke(() =>
|
||||||
{
|
{
|
||||||
if (isclick)
|
if (isclick)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
DragMove();
|
DragMove();
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
isdragmove = Opacity == 0.8;
|
isdragmove = Opacity == 0.8;
|
||||||
Cursor = Cursors.Hand;
|
Cursor = Cursors.Hand;
|
||||||
Opacity = 1;
|
Opacity = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user