mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Get rid of easily removable uses of const_cast
This commit is contained in:
parent
893bbdfde8
commit
d58b2e879f
69 changed files with 342 additions and 306 deletions
|
|
@ -200,8 +200,8 @@ private:
|
|||
|
||||
Point2 pos_cache;
|
||||
Size2 size_cache;
|
||||
Size2 minimum_size_cache;
|
||||
bool minimum_size_valid = false;
|
||||
mutable Size2 minimum_size_cache;
|
||||
mutable bool minimum_size_valid = false;
|
||||
|
||||
Size2 last_minimum_size;
|
||||
bool updating_last_minimum_size = false;
|
||||
|
|
@ -258,8 +258,8 @@ private:
|
|||
// Internationalization.
|
||||
|
||||
LayoutDirection layout_dir = LAYOUT_DIRECTION_INHERITED;
|
||||
bool is_rtl_dirty = true;
|
||||
bool is_rtl = false;
|
||||
mutable bool is_rtl_dirty = true;
|
||||
mutable bool is_rtl = false;
|
||||
|
||||
bool localize_numeral_system = true;
|
||||
|
||||
|
|
@ -299,7 +299,7 @@ private:
|
|||
void _set_anchors_layout_preset(int p_preset);
|
||||
int _get_anchors_layout_preset() const;
|
||||
|
||||
void _update_minimum_size_cache();
|
||||
void _update_minimum_size_cache() const;
|
||||
void _update_minimum_size();
|
||||
void _size_changed();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue