Unverified Commit da73cd57 by Rémi Verschelde Committed by GitHub

Merge pull request #37088 from ThakeeNathees/color-picker-margin-bug-fix

Fix: colorpicker margin bug fixed
parents ad34c1e5 9d224ac4
......@@ -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: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment