Select the first frame when a texture animation is switched
This commit is contained in:
parent
73c18fd5d7
commit
6704829c32
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -238,6 +238,26 @@ namespace FirstPlugin.Forms
|
||||
}
|
||||
}
|
||||
}
|
||||
if (listViewCustom1.InvokeRequired)
|
||||
{
|
||||
listViewCustom1.Invoke((MethodInvoker)delegate
|
||||
{
|
||||
if (listViewCustom1.Items.Count > 0)
|
||||
{
|
||||
listViewCustom1.Items[0].Selected = true;
|
||||
listViewCustom1.Select();
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
if (listViewCustom1.Items.Count > 0)
|
||||
{
|
||||
listViewCustom1.Items[0].Selected = true;
|
||||
listViewCustom1.Select();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
IsLoading = false;
|
||||
}));
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user