Skip to content

Commit 5d71c25

Browse files
committed
Initial commit
1 parent 30fdcec commit 5d71c25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/src/androidMain/kotlin/ir/mahozad/multiplatform/comshot/Comshot.android.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ fun Activity.captureToImageeee(comcon: CompositionContext, content: @Composable
108108
println("hasComposition: ${composeView.hasComposition}")
109109

110110
val bitmap = Bitmap.createBitmap(
111-
composeView.measuredWidth, composeView.measuredHeight,
111+
composeView.measuredWidth,
112+
composeView.measuredHeight,
112113
Bitmap.Config.ARGB_8888
113114
)
114115
val canvas = Canvas(bitmap)

0 commit comments

Comments
 (0)