diff --git a/Userland/Libraries/LibGfx/Color.h b/Userland/Libraries/LibGfx/Color.h index afa6a4873a..5d85f35692 100644 --- a/Userland/Libraries/LibGfx/Color.h +++ b/Userland/Libraries/LibGfx/Color.h @@ -237,7 +237,7 @@ public: #endif } - Color mixed_with(Color other, float weight) const + ALWAYS_INLINE Color mixed_with(Color other, float weight) const { if (alpha() == other.alpha() || with_alpha(0) == other.with_alpha(0)) return interpolate(other, weight); @@ -255,7 +255,7 @@ public: }; } - Color interpolate(Color other, float weight) const noexcept + ALWAYS_INLINE Color interpolate(Color other, float weight) const noexcept { return Gfx::Color { round_to(mix(red(), other.red(), weight)),