parent
e0a7b2ec97
commit
25ed0d4366
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ void ColorPicker::_notification(int p_what) {
|
|||
case NOTIFICATION_PARENTED: {
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
set_margin((Margin)i, get_constant("margin"));
|
||||
set_margin((Margin)i, get_margin((Margin)i) + get_constant("margin"));
|
||||
} break;
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
|
||||
|
|
Loading…
Reference in a new issue