diff --git a/src/DodoSSH.Client.App/App.axaml b/src/DodoSSH.Client.App/App.axaml index 61ee3ad..f674c14 100644 --- a/src/DodoSSH.Client.App/App.axaml +++ b/src/DodoSSH.Client.App/App.axaml @@ -233,14 +233,20 @@ BoxShadow is cleared here too, and that is new alongside the gradient: the base rule now sets a glow that reads as "this is lit and wants pressing", which is the opposite of what a disabled control should say. Left unset it would still apply — the base rule's Setter is still in effect wherever a - more specific one does not override it — so the glow has to be named here, as the empty string - BoxShadows parses to "no shadows", to go away. + more specific one does not override it — so the glow has to be named here, as "none", to go away. + + ◆ "none" RATHER THAN THE EMPTY STRING. The remark this replaced claimed an empty string parses to "no + shadows", and it does not on the Avalonia this project builds against — BoxShadowsTypeConverter throws + an InvalidCastException on it instead, which failed silently at style-sheet load time in nothing that + exercises this rule's own screen and loudly in every headless layout test that lays out any window at + all, because Application.Styles is global. "none" is the literal this converter does accept for an + empty BoxShadows. -->