(newInsight: Insight, oldInsight: Insight)
| 450 | } |
| 451 | |
| 452 | private shouldViewstateTransition(newInsight: Insight, oldInsight: Insight) { |
| 453 | if (!oldInsight.columns) return false; |
| 454 | if (oldInsight.chart !== newInsight.chart) return true; |
| 455 | if (oldInsight.size.height !== newInsight.size.height) return true; |
| 456 | if (oldInsight.size.width !== newInsight.size.width) return true; |
| 457 | if (oldInsight.columns.facet !== newInsight.columns.facet) return true; |
| 458 | return false; |
| 459 | } |
| 460 | |
| 461 | private configForSignalCapture(presenterConfig: VegaDeckGl.types.PresenterConfig) { |
| 462 | const colorContext = { |
no outgoing calls
no test coverage detected