From 42e5859c93e8181ea717c689128c695cf5506d88 Mon Sep 17 00:00:00 2001 From: NoMathExpectation <85624722+NoMathExpectation@users.noreply.github.com> Date: Mon, 23 Mar 2026 00:37:44 +0800 Subject: [PATCH] Fixed compilation error. --- .../kotlin/cn/rdlevel/rdkt/core/data/ColorOrPalette.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/data/ColorOrPalette.kt b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/data/ColorOrPalette.kt index 5044d02..2f561be 100644 --- a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/data/ColorOrPalette.kt +++ b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/data/ColorOrPalette.kt @@ -131,7 +131,6 @@ public sealed interface Color : ColorOrPalette { * Creates a new [ColorWithAlpha] instance with the same red, green, and blue components but a specified alpha component. * The alpha component is optional and defaults to 255 (fully opaque) if not provided. */ - @JvmOverloads public fun withAlpha(alpha: Int = 255): ColorWithAlpha = ColorWithAlpha.of(red, green, blue, alpha) public object Serializer : PolymorphicDelegatedSerializer(ColorOrPalette.serializer())