aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/texture_rect.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-21 19:00:25 -0300
committerJuan Linietsky2017-01-21 19:01:00 -0300
commit0aa7242624fcd74eaf13db006274829c284fab3b (patch)
tree85ae8bc9d725f191da68f1b9ffe1e426025e8fb2 /scene/gui/texture_rect.cpp
parentc4d6e54e93431e94888c5594386bcd0aa22528ee (diff)
downloadgodot-0aa7242624fcd74eaf13db006274829c284fab3b.tar.gz
godot-0aa7242624fcd74eaf13db006274829c284fab3b.tar.zst
godot-0aa7242624fcd74eaf13db006274829c284fab3b.zip
Diffstat (limited to 'scene/gui/texture_rect.cpp')
-rw-r--r--scene/gui/texture_rect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/texture_rect.cpp b/scene/gui/texture_rect.cpp
index cbb077ef5..6a4b59c5e 100644
--- a/scene/gui/texture_rect.cpp
+++ b/scene/gui/texture_rect.cpp
@@ -160,7 +160,7 @@ TextureRect::TextureRect() {
expand=false;
- set_mouse_filter(MOUSE_FILTER_IGNORE);
+ set_mouse_filter(MOUSE_FILTER_PASS);
stretch_mode=STRETCH_SCALE_ON_EXPAND;
}