Revert "0.7.0.0"

This reverts commit aeae4be060.
This commit is contained in:
lincube
2026-03-20 14:22:33 +08:00
parent 5d48a03f57
commit 65a3cf832a
40 changed files with 573 additions and 1668 deletions

View File

@@ -69,28 +69,4 @@ internal static class ComponentChromeCornerRadiusHelper
var safetyScale = ResolveContentSafetyScale(chromeContext, responsiveness);
return Math.Clamp(baseValue * safetyScale, min * safetyScale, max * safetyScale);
}
public static Thickness SafeThickness(
double left,
double top,
double right,
double bottom,
ComponentChromeContext? chromeContext = null,
double responsiveness = 0.45d)
{
return new Thickness(
SafeValue(left, 0, left, chromeContext, responsiveness),
SafeValue(top, 0, top, chromeContext, responsiveness),
SafeValue(right, 0, right, chromeContext, responsiveness),
SafeValue(bottom, 0, bottom, chromeContext, responsiveness));
}
public static Thickness SafeThickness(
double horizontal,
double vertical,
ComponentChromeContext? chromeContext = null,
double responsiveness = 0.45d)
{
return SafeThickness(horizontal, vertical, horizontal, vertical, chromeContext, responsiveness);
}
}