report num rows visible and not > the number of actual rows
This commit is contained in:
@@ -726,7 +726,7 @@ void ScreenOptions::PositionItems()
|
||||
row.GetFrameDestination().PushSelf( L );
|
||||
LuaHelpers::Push( pos, L );
|
||||
LuaHelpers::Push( i, L );
|
||||
LuaHelpers::Push( NUM_ROWS_SHOWN, L );
|
||||
LuaHelpers::Push( min( (int)Rows.size(), (int)NUM_ROWS_SHOWN ), L );
|
||||
lua_call( L, 4, 0 ); // 4 args, 0 results
|
||||
LUA->Release(L);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user