From 7298a3a000cee52c35e8915b9cb22be828ab767b Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 23 Oct 2025 10:49:36 +0200 Subject: [PATCH] fix(material/button-toggle): density clamping typo forcing it to 0 --- src/material/button-toggle/_m3-button-toggle.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/button-toggle/_m3-button-toggle.scss b/src/material/button-toggle/_m3-button-toggle.scss index d7190903d501..667d1ea56d2c 100644 --- a/src/material/button-toggle/_m3-button-toggle.scss +++ b/src/material/button-toggle/_m3-button-toggle.scss @@ -63,7 +63,7 @@ // Tokens that can be configured through Angular Material's density theming API. @function get-density-tokens($scale) { - $scale: theming.clamp-density(scale, -4); + $scale: theming.clamp-density($scale, -4); $index: ($scale * -1) + 1; @return (