Skip to content

Conversation

@arunjose696
Copy link
Contributor

Menus, unlike controls, were not reparented when their associated part was moved (e.g., dragged to a different monitor). This caused menu icons and images to render at the wrong zoom due to the old parent's DPI.

This change checks if a menu's parent has changed during rendering. If so, the menu is disposed and recreated under the correct parent, ensuring proper scaling and visual consistency across monitors.

Steps to reproduce

Menus, unlike controls, were not reparented when their associated part
was moved (e.g., dragged to a different monitor). This caused menu icons
and images to render at the wrong zoom due to the old parent's DPI.

This change checks if a menu's parent has changed during rendering.
If so, the menu is disposed and recreated under the correct parent,
ensuring proper scaling and visual consistency across monitors.
@github-actions
Copy link
Contributor

Test Results

 3 015 files  ±0   3 015 suites  ±0   2h 28m 9s ⏱️ + 15m 18s
 8 258 tests ±0   8 010 ✅ ±0  248 💤 ±0  0 ❌ ±0 
23 598 runs  ±0  22 807 ✅ ±0  791 💤 ±0  0 ❌ ±0 

Results for commit 9d11600. ± Comparison against base commit 6d06b55.

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