PIbd-23 Starostin I.K. Lab_8 #10

Closed
Ivan_Starostin wants to merge 5 commits from lab8 into lab7.0
Showing only changes of commit df8dc0a9cb - Show all commits

View File

@ -72,7 +72,7 @@ namespace ProjectLainer.Generics
{
if (lainer != null)
{
int inRow = _pictureWidth / _placeSizeWidth; //(inRow + 1 + (i % inRow)) * _placeSizeWidth, i / inRow * _placeSizeHeight
int inRow = _pictureWidth / _placeSizeWidth;
lainer.SetPosition((inRow - 1 - (i % inRow)) * _placeSizeWidth, i / inRow * _placeSizeHeight);
lainer.DrawTransport(g);