facewall icon indicating copy to clipboard operation
facewall copied to clipboard

Not all pictures are displayed

Open theold190 opened this issue 11 years ago • 1 comments

While testing the application with default collection of employees, I have noticed that depending on the size of the window different number of pictures displayed. Most of the time you will see less than 12 pictures. To see all of them you need to make height of the windows quite small.

It feels like some pictures are not added in employee_loaded function. There we add employees only if we have enough for the whole row if row_bucket.length is grid.length. This might leave some pictures not displayed.

theold190 avatar Oct 08 '14 00:10 theold190

Something similar to https://github.com/agamatrix/facewall/commit/d23ba6a5c637b35fc71275f673d5c2ee94db2d87 should fix the issue.

theold190 avatar Oct 08 '14 06:10 theold190