feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -31,7 +31,6 @@
|
|||
#include "check_button.h"
|
||||
|
||||
#include "scene/theme/theme_db.h"
|
||||
#include "servers/rendering_server.h"
|
||||
|
||||
Size2 CheckButton::get_icon_size() const {
|
||||
Ref<Texture2D> on_tex;
|
||||
|
|
@ -56,10 +55,10 @@ Size2 CheckButton::get_icon_size() const {
|
|||
}
|
||||
|
||||
Size2 tex_size = Size2(0, 0);
|
||||
if (!on_tex.is_null()) {
|
||||
if (on_tex.is_valid()) {
|
||||
tex_size = on_tex->get_size();
|
||||
}
|
||||
if (!off_tex.is_null()) {
|
||||
if (off_tex.is_valid()) {
|
||||
tex_size = tex_size.max(off_tex->get_size());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue