1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-03 02:52:07 -04:00

re-organize settings

This commit is contained in:
bbedward
2026-04-30 15:19:06 -04:00
committed by purian23
parent 01da451f53
commit 7138c546e1
13 changed files with 240 additions and 298 deletions

View File

@@ -311,8 +311,8 @@ Item {
readonly property real shadowMotionPadding: {
if (Theme.isConnectedEffect)
return 0;
if (typeof SettingsData !== "undefined" && SettingsData.directionalAnimationMode > 0 && Theme.isDirectionalEffect)
return 0; // Wayland native overlap mask
if (Theme.isDirectionalEffect)
return 0;
if (animationType === "slide")
return 30;
if (Theme.isDirectionalEffect)

View File

@@ -746,7 +746,7 @@ Item {
Item {
id: directionalClipMask
readonly property bool shouldClip: Theme.isDirectionalEffect && typeof SettingsData !== "undefined" && SettingsData.directionalAnimationMode > 0
readonly property bool shouldClip: Theme.isDirectionalEffect
readonly property real clipOversize: 2000
clip: shouldClip

View File

@@ -112,7 +112,9 @@ FocusScope {
focus: active
sourceComponent: Component {
DockTab {}
DockTab {
parentModal: root.parentModal
}
}
onActiveChanged: {
@@ -218,7 +220,9 @@ FocusScope {
visible: active
focus: active
sourceComponent: ThemeColorsTab {}
sourceComponent: ThemeColorsTab {
parentModal: root.parentModal
}
onActiveChanged: {
if (active && item)