Commit a59f8f6
scroll: run panBy sync from drawSections
- reverted code from commit 623e2f5
"Scroll Section: Move move event into layouting tasks."
It even mention: This will change in the future but for now, move event modifies map css prpoerty.
- fixes regression after commit 5a672a7
"canvas: flush LayoutingService before canvas render"
- makes order of processing again good for current frame:
Original order (draw -> flush):
1. drawSections() - ScrollSection queues panBy
2. flushLayoutingTasks() - runs panBy synchronously
Currently we flush tasks first, then will execute doMove() in
ScrollSection which appends new task
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I82cb889ea0e87d8fd5b0588e484d19dec77bc63d1 parent c85fb0f commit a59f8f6
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
345 | 344 | | |
346 | | - | |
347 | | - | |
| 345 | + | |
| 346 | + | |
348 | 347 | | |
349 | | - | |
350 | | - | |
| 348 | + | |
351 | 349 | | |
352 | 350 | | |
353 | 351 | | |
| |||
0 commit comments