From 6af2d9008d6a89c03a01ceb5ac04d18ebf423f77 Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Thu, 23 Feb 2023 21:28:33 +0800
Subject: [PATCH] feat: add :pointerover and :pressed style
---
src/Semi.Avalonia/Controls/ToggleSwitch.axaml | 44 ++++++++++++-------
1 file changed, 28 insertions(+), 16 deletions(-)
diff --git a/src/Semi.Avalonia/Controls/ToggleSwitch.axaml b/src/Semi.Avalonia/Controls/ToggleSwitch.axaml
index c5547f3..792ed36 100644
--- a/src/Semi.Avalonia/Controls/ToggleSwitch.axaml
+++ b/src/Semi.Avalonia/Controls/ToggleSwitch.axaml
@@ -172,25 +172,37 @@
-
-
-
-
-
-
+ Padding="8"
+ Background="{TemplateBinding Background}"
+ CornerRadius="3">
+
+
+
+
+
+
+
+
+