Преглед изворни кода

example: add `window_zoom` example

YuKun Liu пре 3 година
родитељ
комит
31a2ded2b9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/window_zoom.rs

+ 1 - 1
examples/window_zoom.rs

@@ -14,7 +14,7 @@ fn app(cx: Scope) -> Element {
     cx.render(rsx! {
         input {
             r#type: "number",
-            value: "{level_display}",
+            value: "{level}",
             oninput: |e| {
                 level.set(e.value.parse::<f64>().unwrap_or_default())
             }