Skip to content

Commit

Permalink
fix: Propagate events to intransient state
Browse files Browse the repository at this point in the history
- Otherwise, lineSelected state can't handle vertex highlight
  • Loading branch information
miyanokomiya committed Nov 25, 2024
1 parent fc4f396 commit 6634373
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/composables/states/appCanvas/intransientState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ export function defineIntransientState<A extends any[]>(
const shapeComposite = ctx.getShapeComposite();
hoveredShape = shapeComposite.shapeMap[event.data.id];
ctx.redraw();
return;
break;
}
default:
return;
}
}
}
Expand Down

0 comments on commit 6634373

Please sign in to comment.