mirror of
https://github.com/godotengine/godot.git
synced 2024-11-28 23:22:38 +00:00
Merge pull request #27088 from fire/scaling_texture_button_focus
Fix scaling issue for texture button focus texture.
This commit is contained in:
commit
e02c7612e5
@ -223,8 +223,7 @@ void TextureButton::_notification(int p_what) {
|
||||
}
|
||||
if (has_focus() && focused.is_valid()) {
|
||||
|
||||
Rect2 drect(Point2(), get_size());
|
||||
draw_texture_rect(focused, drect, false);
|
||||
draw_texture_rect(focused, _position_rect, false);
|
||||
};
|
||||
} break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user