File tree Expand file tree Collapse file tree
ComposeShadowsPlus/src/main/kotlin/com/gigamole/composeshadowsplus/rsblur Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import androidx.compose.ui.geometry.center
2222import androidx.compose.ui.graphics.Color
2323import androidx.compose.ui.graphics.Outline
2424import androidx.compose.ui.graphics.Paint
25+ import androidx.compose.ui.graphics.Path
2526import androidx.compose.ui.graphics.Shape
2627import androidx.compose.ui.graphics.asAndroidPath
2728import androidx.compose.ui.graphics.drawscope.drawIntoCanvas
@@ -179,13 +180,8 @@ fun Modifier.rsBlurShadow(
179180 )
180181 }
181182 is Outline .Rounded -> {
182- canvas.drawRoundRect(
183- outline.roundRect.left,
184- outline.roundRect.top,
185- outline.roundRect.right,
186- outline.roundRect.bottom,
187- outline.roundRect.bottomLeftCornerRadius.x,
188- outline.roundRect.bottomLeftCornerRadius.y,
183+ drawPath(
184+ Path ().apply { addRoundRect(outline.roundRect) }.asAndroidPath(),
189185 paint
190186 )
191187 }
Original file line number Diff line number Diff line change @@ -107,4 +107,4 @@ Created at [intive](https://intive.com).
107107[ Basil Miller] ( https://www.linkedin.com/in/gigamole/ )
108108[ gigamole53@gmail.com ] ( mailto:gigamole53@gmail.com )
109109
110- [ ![ ] ( /media/footer.png )] ( https://intive.com/careers )
110+ [ ![ ] ( /media/footer.png )] ( https://intive.com/careers )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import org.gradle.jvm.toolchain.JavaLanguageVersion
55
66object ProjectConfig {
77 const val versionCode = 1
8- const val versionName = " 1.0.0 "
8+ const val versionName = " 1.0.1 "
99
1010 const val namespace = " com.gigamole.composeshadowsplus"
1111 const val group = " com.github.GIGAMOLE"
You can’t perform that action at this time.
0 commit comments