update remaining examples
This commit is contained in:
1 parent
b1db7a6400
commit
317aed7343
1 file changed
+1
-1
@@ -12,7 +12,7 @@ fn app(cx: Scope) -> Element {
|
|||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100%",
|
height: "100%",
|
||||||
flex_direction: "column",
|
flex_direction: "column",
|
||||||
onwheel: move |evt| alpha.set((**alpha + evt.data.delta().strip_units().y as i64).min(100).max(0)),
|
onwheel: move |evt| alpha.set((**alpha + evt.inner().delta().strip_units().y as i64).min(100).max(0)),
|
||||||
|
|
||||||
p {
|
p {
|
||||||
background_color: "black",
|
background_color: "black",
|
||||||
|
|||||||
Reference in new issue
Block a user