Adds automatic update for region_rect
When changing the texture region for a StyleBox, the regions was not updating automatically in the Texture editor.
This commit is contained in:
parent
f10c3810bb
commit
7d7727bade
2 changed files with 2 additions and 1 deletions
|
|
@ -245,6 +245,7 @@ void StyleBoxTexture::set_region_rect(const Rect2 &p_region_rect) {
|
|||
|
||||
region_rect = p_region_rect;
|
||||
emit_changed();
|
||||
_change_notify("region");
|
||||
}
|
||||
|
||||
Rect2 StyleBoxTexture::get_region_rect() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue