diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-21 19:00:25 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-21 19:01:00 -0300 |
commit | 0aa7242624fcd74eaf13db006274829c284fab3b (patch) | |
tree | 85ae8bc9d725f191da68f1b9ffe1e426025e8fb2 /scene/gui/texture_progress.cpp | |
parent | c4d6e54e93431e94888c5594386bcd0aa22528ee (diff) |
WIP new AudioServer, with buses, effects, etc.
Diffstat (limited to 'scene/gui/texture_progress.cpp')
-rw-r--r-- | scene/gui/texture_progress.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scene/gui/texture_progress.cpp b/scene/gui/texture_progress.cpp index f6a33b5643..7d8373976b 100644 --- a/scene/gui/texture_progress.cpp +++ b/scene/gui/texture_progress.cpp @@ -46,7 +46,9 @@ void TextureProgress::set_over_texture(const Ref<Texture>& p_texture) { over=p_texture; update(); - minimum_size_changed(); + if (under.is_null()) { + minimum_size_changed(); + } } Ref<Texture> TextureProgress::get_over_texture() const{ @@ -302,4 +304,5 @@ TextureProgress::TextureProgress() rad_init_angle=0; rad_center_off=Point2(); rad_max_degrees=360; + set_mouse_filter(MOUSE_FILTER_PASS); } |