From 1145c13452a471efb548fb56868fdbc3cda1f147 Mon Sep 17 00:00:00 2001 From: Jamie Wong Date: Thu, 25 Jan 2018 08:48:38 -0800 Subject: [PATCH] Take strokeSize out of the rectangel batch renderer --- flamechart-minimap-view.tsx | 3 +-- flamechart-view.tsx | 1 - rectangle-batch-renderer.ts | 22 ++-------------------- 3 files changed, 3 insertions(+), 23 deletions(-) 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 } },