mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
fix: Enable "Show on Last Display" for Notepad Slideout and System Tray (#590)
This commit is contained in:
@@ -697,7 +697,7 @@ Item {
|
|||||||
text: I18n.tr("Show on Last Display")
|
text: I18n.tr("Show on Last Display")
|
||||||
description: I18n.tr("Always show when there's only one connected display")
|
description: I18n.tr("Always show when there's only one connected display")
|
||||||
checked: displaysTab.getShowOnLastDisplay(parent.componentId)
|
checked: displaysTab.getShowOnLastDisplay(parent.componentId)
|
||||||
visible: !displaysTab.getScreenPreferences(parent.componentId).includes("all") && ["dankBar", "dock", "notifications", "osd", "toast"].includes(parent.componentId)
|
visible: !displaysTab.getScreenPreferences(parent.componentId).includes("all") && ["dankBar", "dock", "notifications", "osd", "toast", "notepad", "systemTray"].includes(parent.componentId)
|
||||||
onToggled: (checked) => {
|
onToggled: (checked) => {
|
||||||
displaysTab.setShowOnLastDisplay(parent.componentId, checked);
|
displaysTab.setShowOnLastDisplay(parent.componentId, checked);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user