Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Fix pane deletion bug causing exception in Splitpanes #237

Merged
merged 2 commits into from
Oct 21, 2023
Merged

Conversation

ArmandKrynauw
Copy link
Collaborator

I refactored some of the PanelNode code to use uniquely generated string id's instead of just integer counter id's. This seems to have fix the deletion exception bug. Might have been something to do with the #keyed blocks in Svelte not but not sure. Also found some one or two small bugs here and there that I fixed as well.

- Changed integer pane id to string
- Fix some index bugs with default layout creation
- Fix BlipVane panel splitting direction bug
- Clean up some code in the PanelGroup class
@ArmandKrynauw ArmandKrynauw added this to the Project Day milestone Oct 21, 2023
Copy link
Collaborator

@Rec1dite Rec1dite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, I'm surprised that the issue was related to the panel indexing. Good work sorting that out 👍

@Rec1dite Rec1dite merged commit fcb8004 into dev Oct 21, 2023
9 of 12 checks passed
@ArmandKrynauw ArmandKrynauw deleted the fix/panes branch October 21, 2023 15:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants