1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Select the first frame when a texture animation is switched

This commit is contained in:
KillzXGaming 2019-07-09 18:56:50 -04:00
parent 73c18fd5d7
commit 6704829c32
6 changed files with 20 additions and 0 deletions

Binary file not shown.

View File

@ -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;
}));