summaryrefslogtreecommitdiffstats
path: root/examples/integration/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration/src/main.rs')
-rw-r--r--examples/integration/src/main.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs
index 7945bd20..243297b2 100644
--- a/examples/integration/src/main.rs
+++ b/examples/integration/src/main.rs
@@ -200,8 +200,10 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> {
viewport.scale_factor(),
)
})
- .map(mouse::Cursor::Available)
- .unwrap_or(mouse::Cursor::Unavailable),
+ .map_or(
+ mouse::Cursor::Unavailable,
+ mouse::Cursor::Available,
+ ),
&mut renderer,
&Theme::Dark,
&renderer::Style {