Skip to content

Commit

Permalink
Update MeasurementTool.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscognite committed Aug 29, 2024
1 parent 99b1008 commit cecb611
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { type BaseCreator } from '../../base/domainObjectsHelpers/BaseCreator';
import { ShowMeasurementsOnTopCommand } from './commands/ShowMeasurementsOnTopCommand';
import { SetMeasurementTypeCommand } from './commands/SetMeasurementTypeCommand';
import { type TranslateKey } from '../../base/utilities/TranslateKey';
import { ToggleMetricUnitsCommand } from '../../base/concreteCommands/ToggleMetricUnitsCommand';
// import { ToggleMetricUnitsCommand } from '../../base/concreteCommands/ToggleMetricUnitsCommand';
import { PrimitiveEditTool } from '../primitives/PrimitiveEditTool';
import { MeasureLineDomainObject } from './MeasureLineDomainObject';
import { MeasureBoxDomainObject } from './MeasureBoxDomainObject';
Expand Down Expand Up @@ -49,6 +49,7 @@ export class MeasurementTool extends PrimitiveEditTool {
new SetMeasurementTypeCommand(PrimitiveType.Box),
undefined, // Separator
new UndoCommand(),
// new ToggleMetricUnitsCommand(),
new ShowMeasurementsOnTopCommand()
];
}
Expand Down

0 comments on commit cecb611

Please sign in to comment.