From 88f0b96572311a052708aadc54c1eb99be81c921 Mon Sep 17 00:00:00 2001 From: pml68 Date: Wed, 25 Jun 2025 01:07:20 +0200 Subject: feat: update for hot reloading support --- crates/material_theme/src/button.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/material_theme/src/button.rs') diff --git a/crates/material_theme/src/button.rs b/crates/material_theme/src/button.rs index 3f16bc7..2800ac4 100644 --- a/crates/material_theme/src/button.rs +++ b/crates/material_theme/src/button.rs @@ -32,6 +32,7 @@ fn button( text_color: foreground, border: border::rounded(400), shadow: shadow_from_elevation(elevation(elevation_level), shadow_color), + snap: cfg!(feature = "crisp"), }; match status { -- cgit v1.2.3