Browse Source

fix checkbox isMaximized in Windows_API_new tutorial (#893)

pull/889/head
fauxvillage 3 years ago committed by GitHub
parent
commit
3df74e26aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tutorials/Window_API_new/README.md

2
tutorials/Window_API_new/README.md

@ -299,7 +299,7 @@ fun main() = application {
Row(verticalAlignment = Alignment.CenterVertically) { Row(verticalAlignment = Alignment.CenterVertically) {
Checkbox( Checkbox(
state.placement == WindowPlacement.Fullscreen, state.placement == WindowPlacement.Maximized,
{ {
state.placement = if (it) { state.placement = if (it) {
WindowPlacement.Maximized WindowPlacement.Maximized

Loading…
Cancel
Save