Skip to content

Commit

Permalink
Add unsupported platforms note to ui window fallthrough example (#7827)
Browse files Browse the repository at this point in the history
# Objective
This adds small comment to window fall through example that it won't work on specific platforms. This information is documented in `Cursor` api but I think it is worth to add it in example description for clarity sake.
  • Loading branch information
iwek7 committed Feb 27, 2023
1 parent 15c55a1 commit 3d8fe46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/ui/window_fallthrough.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! This example illustrates how have a mouse's clicks/wheel/movement etc fall through the spawned transparent window to a window below.
//! If you build this, and hit 'P' it should toggle on/off the mouse's passthrough.
//! Note: this example will not work on following platforms: iOS / Android / Web / X11. Window fall through is not supported there.

use bevy::prelude::*;

Expand Down

0 comments on commit 3d8fe46

Please sign in to comment.