mirror of
https://github.com/danbulant/cushy
synced 2026-06-21 23:52:52 +00:00
parent
54e01f1911
commit
80ba184c15
3 changed files with 0 additions and 6 deletions
|
|
@ -27,8 +27,6 @@ fn main() -> gooey::Result {
|
|||
.into_button()
|
||||
// Set the `on_click` callback to a closure that increments the counter.
|
||||
.on_click(count.with_clone(|count| move |_| count.set(count.get() + 1)))
|
||||
// Position the button in the center
|
||||
.centered()
|
||||
// Run the application
|
||||
.run()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@ fn main() -> gooey::Result {
|
|||
.into_button()
|
||||
// Set the `on_click` callback to a closure that increments the counter.
|
||||
.on_click(count.with_clone(|count| move |_| count.set(count.get() + 1)))
|
||||
// Position the button in the center
|
||||
.centered()
|
||||
// Run the application
|
||||
.run()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@ fn main() -> gooey::Result {
|
|||
.into_button()
|
||||
// Set the `on_click` callback to a closure that increments the counter.
|
||||
.on_click(count.with_clone(|count| move |_| count.set(count.get() + 1)))
|
||||
// Position the button in the center
|
||||
.centered()
|
||||
// Run the application
|
||||
.run()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue