Commit 6111b45
committed
notebookbar overflow: throttle resizing
- if we are faster we can spin tasks more dense
- in case of resizing in Chrome I experienced more jitter in animation
- after profiling I saw reduced overhead of single overflow management
but it happened more often while rapid or long resize distance
- this change makes us sure that we don't repeat tasks unnecessary
Signed-off-by: Szymon Kłos <[email protected]>
Change-Id: I8a40dfb4574bb9ca77524b19826fb9b15061d9cc1 parent 889eba8 commit 6111b45
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| 78 | + | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
| |||
0 commit comments