Skip to content

Commit 83cfdc9

Browse files
committed
feat: add modal property to notification setting menu
1. Set modal property to true for NotifySettingMenu 2. This prevents interaction with other UI elements while menu is open 3. Improves user experience by focusing attention on the menu 4. Ensures menu behavior is consistent with other modal dialogs feat: 为通知设置菜单添加模态属性 1. 将 NotifySettingMenu 的 modal 属性设置为 true 2. 防止菜单打开时与其他 UI 元素交互 3. 通过将注意力集中在菜单上来改善用户体验 4. 确保菜单行为与其他模态对话框保持一致 PMS: BUG-299885
1 parent 2a96580 commit 83cfdc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

panels/notification/center/NotifySettingMenu.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Menu {
1111
id: root
1212

1313
closePolicy: Popup.CloseOnPressOutside | Popup.CloseOnEscape
14+
modal: true
1415

1516
function toggle()
1617
{

0 commit comments

Comments
 (0)