mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Add unsupported platforms note to ui window fallthrough example (#7827)
# 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.
This commit is contained in:
parent
15c55a12ff
commit
3d8fe46f94
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
//! 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.
|
//! 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::*;
|
use bevy::prelude::*;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue