Skip to content

Conversation

Nuklon
Copy link

@Nuklon Nuklon commented Sep 10, 2025

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

To call PointFromScreen, the visual needs to be connected to a presentation source. Otherwise an InvalidOperationException with the message This Visual is not connected to a PresentationSource is thrown. This is already catched, but we can avoid this by checking whether it's connected. I also refactored the almost unreadable panel fallback into a separate method.

@Nuklon Nuklon requested a review from pomianowski as a code owner September 10, 2025 11:24
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.

1 participant