mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
DankDash: fix per-monitor wallpapers
This commit is contained in:
@@ -374,7 +374,7 @@ DankPopout {
|
||||
active: root.currentTabIndex === 2
|
||||
tabBarItem: tabBar
|
||||
keyForwardTarget: mainContainer
|
||||
targetScreen: root.triggerScreen
|
||||
targetScreen: root.screen
|
||||
parentPopout: root
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import QtCore
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Effects
|
||||
import Quickshell
|
||||
import qs.Common
|
||||
import qs.Modals.FileBrowser
|
||||
import qs.Widgets
|
||||
@@ -244,6 +245,12 @@ Item {
|
||||
setInitialSelection();
|
||||
}
|
||||
}
|
||||
function onPerMonitorWallpaperChanged() {
|
||||
loadWallpaperDirectory();
|
||||
if (visible && active) {
|
||||
setInitialSelection();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onTargetScreenNameChanged: {
|
||||
|
||||
Reference in New Issue
Block a user