diff --git a/flamechart-minimap-view.tsx b/flamechart-minimap-view.tsx index 3e04e37..ed07c6e 100644 --- a/flamechart-minimap-view.tsx +++ b/flamechart-minimap-view.tsx @@ -96,9 +96,8 @@ export class FlamechartMinimapView extends Component { this.props.canvasContext.drawRectangleBatch({ - configSpaceToNDC: props.configSpaceToNDC, physicalSize: props.physicalSize, - strokeSize: 0, + configSpaceToNDC: props.configSpaceToNDC, batch: this.props.rectangles }) } diff --git a/flamechart-view.tsx b/flamechart-view.tsx index 829f024..89a3ce0 100644 --- a/flamechart-view.tsx +++ b/flamechart-view.tsx @@ -327,7 +327,6 @@ export class FlamechartPanZoomView extends ReloadableComponent { return props.configSpaceToNDC.flatten() - }, - physicalSize: (context, props) => { - return props.physicalSize.flatten() - }, - strokeSize: (context, props) => { - return props.strokeSize } },