mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-30 17:05:37 +08:00
(NextItemExec): scroll selection into view.
This commit is contained in:
parent
8856639058
commit
34b70e869e
@ -1170,7 +1170,10 @@ namespace GARbro.GUI
|
|||||||
|
|
||||||
var index = CurrentDirectory.SelectedIndex + 1;
|
var index = CurrentDirectory.SelectedIndex + 1;
|
||||||
if (index < CurrentDirectory.Items.Count)
|
if (index < CurrentDirectory.Items.Count)
|
||||||
|
{
|
||||||
CurrentDirectory.SelectedIndex = index;
|
CurrentDirectory.SelectedIndex = index;
|
||||||
|
CurrentDirectory.ScrollIntoView (CurrentDirectory.SelectedItem);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user