Browse Source

Update README.md (#1929)

pull/1843/merge
Nthily 3 years ago committed by GitHub
parent
commit
5867bf0e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tutorials/Mouse_Events/README.md

4
tutorials/Mouse_Events/README.md

@ -236,7 +236,7 @@ fun main() = singleWindowApplication {
<img alt="Application running" src="mouse_event.gif" height="500" />
If you need to listen left/right clicks simultaneously, you should listen for raw events:
```
```kotlin
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Text
@ -282,7 +282,7 @@ fun main() = singleWindowApplication {
### Swing interoperability
Compose for Desktop uses Swing underneath and allows to access raw AWT events:
```
```kotlin
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Text

Loading…
Cancel
Save