mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Avoid incorrect computing anchor of Control node when reset on save
This commit is contained in:
parent
7ebc866418
commit
57cd00aee9
2 changed files with 29 additions and 0 deletions
|
|
@ -47,6 +47,10 @@ class ThemeContext;
|
|||
class Control : public CanvasItem {
|
||||
GDCLASS(Control, CanvasItem);
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
bool saving = false;
|
||||
#endif
|
||||
|
||||
public:
|
||||
enum Anchor {
|
||||
ANCHOR_BEGIN = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue