feat: add tiny theme.

This commit is contained in:
rabbitism
2024-08-10 00:42:06 +08:00
parent b0c86e91a1
commit d8740e540b
3 changed files with 84 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ public class Pagination: TemplatedControl
if (arg2 is null) return null;
if (arg1 is Pagination p)
{
arg2 = MathHelpers.SafeClamp(arg2.Value, 1, p.PageCount + 1);
arg2 = MathHelpers.SafeClamp(arg2.Value, 1, p.PageCount);
}
return arg2;
}