Skip to content

Conversation

@JammingBen
Copy link
Contributor

Space always needs to be set, even if noResourceLoading is false.

fixes #1089

@JammingBen JammingBen self-assigned this Sep 9, 2025
Copilot AI review requested due to automatic review settings September 9, 2025 12:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where images couldn't be opened properly when the right sidebar was already open. The fix ensures that the space value is always set from the current file context, even when resource loading is disabled.

  • Adds space assignment for the noResourceLoading case
  • Ensures consistent behavior regardless of sidebar state

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@JammingBen JammingBen merged commit a145795 into main Sep 9, 2025
29 checks passed
@JammingBen JammingBen deleted the fix/opening-preview-with-opened-sidebar branch September 9, 2025 13:20
@openclouders openclouders mentioned this pull request Sep 9, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opening the preview app crashes while sidebar is opened

3 participants