From aa17c2210d0f0544c3900075a8177e272e67e32f Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:24:20 +0800 Subject: [PATCH] feat: RepeatButton & ToggleButton. --- src/Semi.Avalonia/Controls/RepeatButton.axaml | 14 ++++++++------ src/Semi.Avalonia/Controls/ToggleButton.axaml | 7 +++++++ src/Semi.Avalonia/Themes/Dark/ToggleButton.axaml | 4 ++++ src/Semi.Avalonia/Themes/HighContrast/Base.axaml | 12 +++++++++--- src/Semi.Avalonia/Themes/Light/ToggleButton.axaml | 4 ++++ 5 files changed, 32 insertions(+), 9 deletions(-) diff --git a/src/Semi.Avalonia/Controls/RepeatButton.axaml b/src/Semi.Avalonia/Controls/RepeatButton.axaml index 357c94f..ed8bafd 100644 --- a/src/Semi.Avalonia/Controls/RepeatButton.axaml +++ b/src/Semi.Avalonia/Controls/RepeatButton.axaml @@ -108,6 +108,7 @@ @@ -123,6 +124,7 @@ @@ -204,9 +206,9 @@ @@ -247,12 +249,12 @@ BasedOn="{StaticResource {x:Type RepeatButton}}" TargetType="RepeatButton"> diff --git a/src/Semi.Avalonia/Controls/ToggleButton.axaml b/src/Semi.Avalonia/Controls/ToggleButton.axaml index 730a0e8..b069fa3 100644 --- a/src/Semi.Avalonia/Controls/ToggleButton.axaml +++ b/src/Semi.Avalonia/Controls/ToggleButton.axaml @@ -98,6 +98,7 @@ @@ -138,9 +139,12 @@