Respect isDraggable by toggling WindowChrome caption drag

This commit is contained in:
Meik
2026-03-05 12:52:33 +01:00
parent 63f1ffc57d
commit 44d1d63349
2 changed files with 15 additions and 4 deletions

View File

@@ -1384,6 +1384,7 @@ namespace C4IT_CustomerPanel.libs
cpConfig = JsonConvert.DeserializeObject<CustomerPanelConfig>(json);
cpConfig._encryptedApiToken = CustomerPanelSecurePassword.Instance.Decode(cpConfig._encryptedApiToken);
LogEntry($"[Config API] _isDraggable={cpConfig?._isDraggable}", LogLevels.Debug);
if (cpConfig?._uiColors != null && cpConfig._uiColors.TryGetValue("activeButtonColor", out string apiActiveColor) && !string.IsNullOrWhiteSpace(apiActiveColor))
LogEntry($"[Config API] activeButtonColor={apiActiveColor}", LogLevels.Debug);