Skip to content

Commit 1cb1cc9

Browse files
JonEckenrodegithub-actions[bot]
authored andcommitted
Apply Spotless
1 parent 2e0f6f9 commit 1cb1cc9

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/stylus/StylusSnippets.kt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ import androidx.compose.ui.Modifier
2525
@Composable
2626
@OptIn(ExperimentalComposeUiApi::class)
2727
fun DrawArea(modifier: Modifier = Modifier) {
28-
Canvas(modifier = modifier
29-
.clipToBounds()
30-
.pointerInteropFilter {
31-
viewModel.processMotionEvent(it)
32-
}
28+
Canvas(
29+
modifier = modifier
30+
.clipToBounds()
31+
.pointerInteropFilter {
32+
viewModel.processMotionEvent(it)
33+
}
3334

34-
) {
35-
// Drawing code here.
36-
}
35+
) {
36+
// Drawing code here.
37+
}
3738
}
3839
// [END android_compose_stylus_motion_event_access]

0 commit comments

Comments
 (0)