Skip to content

Commit

Permalink
Fix error on editing non-measured features
Browse files Browse the repository at this point in the history
  • Loading branch information
sholtkamp committed Jul 13, 2023
1 parent dd17f32 commit 0e279bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class SketchingEnhancedController {
this.editObservers.add(sketchingEnhancedModel.watch("editSymbol", ({ value: editSymbol }) => {
sketchViewModel.updateGraphics.forEach((graphic) => {
if (graphic.symbol.type === editSymbol.type) {
if (graphic.attributes.type === "arrow") {
if (graphic?.attributes?.type === "arrow") {
graphic.symbol = this.getArrowCimSymbol(editSymbol.color,
editSymbol.width, editSymbol.boldWidth);
} else {
Expand Down

0 comments on commit 0e279bd

Please sign in to comment.