mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Remove confusing Control::is_top_level_control()
It's hard to tell at first glance under what circumstances `is_top_level_control()` returns `true`. So it's hard to decide when to use this method. And it seems to be just a helper function for `Control::get_root_parent_control()`. `is_top_level_control()` seems to only return `true` during entry and exit of canvas.
This commit is contained in:
parent
7b1ed520bd
commit
f7397a0fee
2 changed files with 0 additions and 11 deletions
|
|
@ -428,8 +428,6 @@ public:
|
|||
|
||||
// Global relations.
|
||||
|
||||
bool is_top_level_control() const;
|
||||
|
||||
Control *get_parent_control() const;
|
||||
Window *get_parent_window() const;
|
||||
Control *get_root_parent_control() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue