Skip to content

Commit

Permalink
Avoid rerendering all the SVG when feature is clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jul 26, 2022
1 parent e5b74f5 commit 7af8568
Show file tree
Hide file tree
Showing 6 changed files with 1,758 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ function FeatureGlyph(props: {
shouldShowDescription: boolean
fontHeight: number
allowedWidthExpansion: number
exportSVG: unknown
displayModel: DisplayModel
exportSVG?: unknown
displayModel?: DisplayModel
selected?: boolean
reversed?: boolean
topLevel?: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export default observer(
allowedWidthExpansion?: number
feature: Feature
reversed?: boolean
displayModel: DisplayModel
displayModel?: DisplayModel
exportSVG?: unknown
region: Region
exportSVG: unknown
viewParams: {
start: number
end: number
Expand Down
Loading

0 comments on commit 7af8568

Please sign in to comment.