Make NinePatchRect listen to texture changes

This commit is contained in:
Ninni Pipping
2023-06-14 10:33:04 +02:00
parent 217a20a8a0
commit 4492f7ff97
2 changed files with 18 additions and 0 deletions

View File

@ -51,6 +51,8 @@ public:
AxisStretchMode axis_h = AXIS_STRETCH_MODE_STRETCH;
AxisStretchMode axis_v = AXIS_STRETCH_MODE_STRETCH;
void _texture_changed();
protected:
void _notification(int p_what);
virtual Size2 get_minimum_size() const override;