Skip to content

Commit

Permalink
fix: bug #93 where an extra node is added when the graph is first con…
Browse files Browse the repository at this point in the history
…structed.
  • Loading branch information
RobRoyce committed Mar 22, 2023
1 parent 26d2ef2 commit 2671b9c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 Rob Royce
* Copyright (c) 2022-2023 Rob Royce
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -206,6 +206,7 @@ export class GraphCanvasComponent implements OnInit, OnChanges, OnDestroy {
).subscribe()

this._boxSelected.asObservable().pipe(
skip(1),
takeUntil(this.cleanUp),
bufferTime(250),
filter(s => s.length > 0),
Expand Down

0 comments on commit 2671b9c

Please sign in to comment.