You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
various gui nodes now listen for the changed signal on textures
This commit is contained in:
@@ -343,7 +343,7 @@ Ref<Texture2D> TextureButton::get_texture_focused() const {
|
||||
}
|
||||
|
||||
void TextureButton::set_texture_focused(const Ref<Texture2D> &p_focused) {
|
||||
focused = p_focused;
|
||||
_set_texture(&focused, p_focused);
|
||||
}
|
||||
|
||||
void TextureButton::_set_texture(Ref<Texture2D> *p_destination, const Ref<Texture2D> &p_texture) {
|
||||
|
||||
Reference in New Issue
Block a user