mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[PR #574] [MERGED] Place message boxes at center of main window #1045
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/MPF/pull/574
Author: @Deterous
Created: 10/11/2023
Status: ✅ Merged
Merged: 10/11/2023
Merged by: @mnadareski
Base:
master← Head:msgbox📝 Commits (1)
bc8a9d3Place message boxes at center of main window📊 Changes
1 file changed (+5 additions, -5 deletions)
View changed files
📝
MPF.UI.Core/Windows/MainWindow.xaml.cs(+5 -5)📄 Description
Provides the main window as the parent to the custom message boxes, such that they will be placed in the center of the main window, rather than in the center of the current screen.
This fixes cases such as when the "Eject" message box is hidden from users, behind other windows, or placed on secondary screens.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.