Skip to content

Commit

Permalink
Address issue with outline inspector selection (Fix 1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Sep 13, 2024
1 parent c318f42 commit dfebacd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
### Fixes

- [beta] Fix an issue that UNIX scripts could not get the document object displayed in a folder.
- [beta.3] Fix an issue that the editor unwontedly selects the nearest outline item when the Outline inspector is shown.


### Known Issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@ private extension OutlineInspectorView.Model {

self.isOwnSelectionChange = true
self.selection = item.id
// adjust the timing to restore flag
// adjust the timing to restore flag for selectItem(id:)
Task {
await Task.yield()
self.isOwnSelectionChange = false
}
}
Expand Down

0 comments on commit dfebacd

Please sign in to comment.