From 3d8fe46f9457d75314f9e56400c8b1fddf5afe2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Iwa=C5=84czuk?= Date: Mon, 27 Feb 2023 00:44:11 +0000 Subject: [PATCH] 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. --- examples/ui/window_fallthrough.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ui/window_fallthrough.rs b/examples/ui/window_fallthrough.rs index d2b4459be4..123b40b41d 100644 --- a/examples/ui/window_fallthrough.rs +++ b/examples/ui/window_fallthrough.rs @@ -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::*;