Commit ea883e6
committed
cache bounding boxes by node contents instead of by data-bb attr
means we get a lot more caching, and a lot less DOM manipulation and getBoundingClientRect1 parent b9c33c9 commit ea883e6Copy full SHA for ea883e6
File tree
Expand file treeCollapse file tree
4 files changed
+34
-18
lines changedOpen diff view settings
Filter options
- src
- components/drawing
- lib
- traces
- bar
- pie
Expand file treeCollapse file tree
4 files changed
+34
-18
lines changedOpen diff view settings
Collapse file
src/components/drawing/index.js
Copy file name to clipboardExpand all lines: src/components/drawing/index.js+34-12Lines changed: 34 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
610 | 610 | |
611 | 611 | |
612 | 612 | |
613 | | - |
| 613 | + |
| 614 | + |
614 | 615 | |
615 | 616 | |
616 | 617 | |
617 | 618 | |
618 | 619 | |
619 | | - |
620 | | - |
621 | | - |
622 | | - |
| 620 | + |
| 621 | + |
| 622 | + |
623 | 623 | |
624 | | - |
625 | | - |
| 624 | + |
626 | 625 | |
627 | 626 | |
628 | 627 | |
| ||
654 | 653 | |
655 | 654 | |
656 | 655 | |
657 | | - |
658 | | - |
659 | | - |
| 656 | + |
| 657 | + |
| 658 | + |
660 | 659 | |
661 | 660 | |
662 | 661 | |
663 | | - |
664 | | - |
| 662 | + |
| 663 | + |
665 | 664 | |
666 | 665 | |
667 | 666 | |
668 | 667 | |
| 668 | + |
| 669 | + |
| 670 | + |
| 671 | + |
| 672 | + |
| 673 | + |
| 674 | + |
| 675 | + |
| 676 | + |
| 677 | + |
| 678 | + |
| 679 | + |
| 680 | + |
| 681 | + |
| 682 | + |
| 683 | + |
| 684 | + |
| 685 | + |
| 686 | + |
| 687 | + |
| 688 | + |
| 689 | + |
| 690 | + |
669 | 691 | |
670 | 692 | |
671 | 693 | |
|
Collapse file
-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
94 | 94 | |
95 | 95 | |
96 | 96 | |
97 | | - |
98 | | - |
99 | | - |
100 | 97 | |
101 | 98 | |
102 | 99 | |
|
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
146 | 146 | |
147 | 147 | |
148 | 148 | |
149 | | - |
150 | 149 | |
151 | 150 | |
152 | 151 | |
|
Collapse file
-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
251 | 251 | |
252 | 252 | |
253 | 253 | |
254 | | - |
255 | 254 | |
256 | 255 | |
257 | 256 | |
| ||
274 | 273 | |
275 | 274 | |
276 | 275 | |
277 | | - |
278 | 276 | |
279 | 277 | |
280 | 278 | |
|
0 commit comments