mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
parent
7432536495
commit
6f64d3f373
@ -1693,7 +1693,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
return;
|
||||
}
|
||||
|
||||
int bottomIndex = TopItem.Index + (Height - 25) / 16;
|
||||
int bottomIndex = TopItem.Index + (Height - 30) / GetItemRect(0).Height;
|
||||
int itemsBeforeAfterCount = (bottomIndex - TopItem.Index) / 2 - 1;
|
||||
if (itemsBeforeAfterCount < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user