Browse Source

fix(profiling): use correct sample tick view (#60463)

JS timelines are sometimes offset and it breaks the tick rendering
Jonas 1 year ago
parent
commit
8f22d40b9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/components/profiling/flamegraph/flamegraphZoomView.tsx

+ 1 - 1
static/app/components/profiling/flamegraph/flamegraphZoomView.tsx

@@ -208,7 +208,7 @@ function FlamegraphZoomView({
       }
       sampleTickRenderer.draw(
         flamegraphView.fromTransformedConfigView(flamegraphCanvas.physicalSpace),
-        flamegraphView.configView
+        flamegraphView.toOriginConfigView(flamegraphView.configView)
       );
     };