Skip to content

Comments

Fix active tab not updating when dragged to another container#115

Open
stargazing-dino wants to merge 1 commit intorerun-io:mainfrom
stargazing-dino:fix-tab-active-on-drag
Open

Fix active tab not updating when dragged to another container#115
stargazing-dino wants to merge 1 commit intorerun-io:mainfrom
stargazing-dino:fix-tab-active-on-drag

Conversation

@stargazing-dino
Copy link

Getting the next active was buggy.

The logic here said to only look for a tile that is visible. But the moved tile technically is still visible if you just move it to another docking area.

Instead, we should also ask if our children contains that tile as well as being visible.

Before fix:

Screen.Recording.2026-02-03.at.9.11.50.PM.mov

After fix:

Screen.Recording.2026-02-03.at.9.11.02.PM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant