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:
Michał Iwańczuk 2023-02-27 00:44:11 +00:00
parent 15c55a12ff
commit 3d8fe46f94

View file

@ -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::*;