Skip to content

Commit

Permalink
fix bad port anchors after minimize restore
Browse files Browse the repository at this point in the history
  • Loading branch information
tlr committed Jan 2, 2025
1 parent 7462290 commit 0da646f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/graph/GraphView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ export default {
async mounted () {
await this.$nextTick()
this.zoomNodes() // focus nodes after show window from minimize to tray
this.nodes.forEach(node => {
this.$store.graph.fitNode(node.id) // FIX bad port anchors after minimize to tray and restore
})
},
methods: {
onWindowResize () {
Expand Down

0 comments on commit 0da646f

Please sign in to comment.