Skip to content

Commit

Permalink
fix(stage): clicking on connection didn't do anything
Browse files Browse the repository at this point in the history
closes #40

Signed-off-by: Lukas Mertens <git@lukas-mertens.de>

commit-id:cf713f3a
  • Loading branch information
lukas-mertens committed Mar 15, 2024
1 parent 2240c0d commit 4ffd97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/evconf_konva/config_stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export default class ConfigStage {

this.context = context;
context.set_container(this._stage.container());
this._stage.on("pointerclick", () => context.unselect());
this.context.add_observer((ev) => this._handle_stage_context_event(ev));
this.registerListeners();
this.resizeStage();
Expand Down Expand Up @@ -281,6 +280,7 @@ export default class ConfigStage {
height: this._stage.height(),
fill: 'rgba(255, 0, 0, 0)'
});
this._bg.on("pointerclick", () => this.context.unselect());
static_layer.add(this._bg);
static_layer.on("dragstart", () => {
this._stage.container().style.cursor = "grab";
Expand Down

0 comments on commit 4ffd97b

Please sign in to comment.