Merge pull request #37088 from ThakeeNathees/color-picker-margin-bug-fix
Fix: colorpicker margin bug fixed
This commit is contained in:
commit
da73cd5756
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ void ColorPicker::_notification(int p_what) {
|
|||
} break;
|
||||
case NOTIFICATION_PARENTED: {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
set_margin((Margin)i, get_theme_constant("margin"));
|
||||
set_margin((Margin)i, get_margin((Margin)i) + get_theme_constant("margin"));
|
||||
}
|
||||
} break;
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
|
|
Loading…
Reference in a new issue