1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-08 13:32:05 -04:00

(frame): implement ConnectedModeState to better handle component sync

This commit is contained in:
purian23
2026-04-07 23:28:00 -04:00
parent c9ff2c0b35
commit bca034bede
8 changed files with 1067 additions and 176 deletions

View File

@@ -1000,7 +1000,7 @@ Singleton {
readonly property bool isConnectedEffect: AnimVariants.isConnectedEffect
readonly property real connectedCornerRadius: {
if (typeof SettingsData === "undefined") return 12;
return SettingsData.frameEnabled ? SettingsData.frameRounding : cornerRadius;
return SettingsData.connectedFrameModeActive ? SettingsData.frameRounding : cornerRadius;
}
readonly property color connectedSurfaceColor: {
if (typeof SettingsData === "undefined")