From eaa4fccc54085bbd7642decc5a6006822473e6a8 Mon Sep 17 00:00:00 2001 From: Nils Petter Fremming Date: Wed, 21 Aug 2024 14:52:40 +0200 Subject: [PATCH] Update SetPointShapeCommand.ts --- .../architecture/base/concreteCommands/SetPointShapeCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-components/src/architecture/base/concreteCommands/SetPointShapeCommand.ts b/react-components/src/architecture/base/concreteCommands/SetPointShapeCommand.ts index 3e89da167fb..fb2c69d64bf 100644 --- a/react-components/src/architecture/base/concreteCommands/SetPointShapeCommand.ts +++ b/react-components/src/architecture/base/concreteCommands/SetPointShapeCommand.ts @@ -54,7 +54,7 @@ class OptionItemCommand extends RenderTargetCommand { if (pointCloud === undefined) { return false; } - return pointCloud.pointSizeType === this._value; + return pointCloud.pointShape === this._value; } public override invokeCore(): boolean {