Fix scaling issue for texture button focus texture.
This commit is contained in:
parent
775e74e0d4
commit
1971c09e5e
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue