colorpicker margin bug fixed

This commit is contained in:
Thakee Nathees 2020-03-16 16:55:09 +05:30
parent ad34c1e544
commit 9d224ac429
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ void ColorPicker::_notification(int p_what) {
} break; } break;
case NOTIFICATION_PARENTED: { case NOTIFICATION_PARENTED: {
for (int i = 0; i < 4; i++) { 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; } break;
case NOTIFICATION_VISIBILITY_CHANGED: { case NOTIFICATION_VISIBILITY_CHANGED: {