Commit c73ab13
committed
[folgutter addon] Respond to swapDoc event asynchronously
Since the viewport info isn't updated until the redraw, and the event
fires before the redraw.
See https://discuss.codemirror.net/t/whats-wrong-fold-gutters-do-not-show-up-after-swapdoc-call/5801 parent 273c803 commit c73ab13
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments