diff options
author | Florrie <towerofnix@gmail.com> | 2018-07-05 09:26:49 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-07-05 09:26:49 -0300 |
commit | de1c92141d2d4859cf869ec90e50e8eb0e5e8568 (patch) | |
tree | 9f596a76167fbdc8bc4b6b5945b39f209dd1974d /ui | |
parent | eebff4fbbac489f96954f05d6d0d838c62a8e6c7 (diff) |
ListScrollForm - fixLayout before checking dimensions
Diffstat (limited to 'ui')
-rw-r--r-- | ui/form/ListScrollForm.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/form/ListScrollForm.js b/ui/form/ListScrollForm.js index e888fd1..714fc6f 100644 --- a/ui/form/ListScrollForm.js +++ b/ui/form/ListScrollForm.js @@ -40,6 +40,8 @@ module.exports = class ListScrollForm extends Form { let nextPos = 0 for (const item of itemsPastScroll) { + item.fixLayout() + item[this.posProp] = nextPos nextPos += item[this.sizeProp] |