From 415042ac89d1c9c7f8ca97fa83fc1165350a01da Mon Sep 17 00:00:00 2001
From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
Date: Tue, 15 Feb 2022 22:14:39 +0100
Subject: Connect notifications from Container to Viewport mouse enter+exit
---
doc/classes/Node.xml | 8 ++++++++
doc/classes/SubViewportContainer.xml | 1 +
2 files changed, 9 insertions(+)
(limited to 'doc')
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 5ae50f86d4..962ad00a56 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -853,6 +853,14 @@
+
+
+
+ Notification received when the mouse enters the viewport.
+
+
+ Notification received when the mouse leaves the viewport.
+
Notification received from the OS when the application is exceeding its allocated memory.
Specific to the iOS platform.
diff --git a/doc/classes/SubViewportContainer.xml b/doc/classes/SubViewportContainer.xml
index bd48f2b6db..050186a883 100644
--- a/doc/classes/SubViewportContainer.xml
+++ b/doc/classes/SubViewportContainer.xml
@@ -6,6 +6,7 @@
A [Container] node that holds a [SubViewport], automatically setting its size.
[b]Note:[/b] Changing a SubViewportContainer's [member Control.rect_scale] will cause its contents to appear distorted. To change its visual size without causing distortion, adjust the node's margins instead (if it's not already in a container).
+ [b]Note:[/b] The SubViewportContainer forwards mouse-enter and mouse-exit notifications to its sub-viewports.
--
cgit v1.2.3