1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Fix Gradient preview issues

This commit is contained in:
VolTer
2022-11-21 18:19:44 +01:00
parent 84c404f6bc
commit 3c54d8752c
2 changed files with 24 additions and 25 deletions

View File

@@ -53,10 +53,10 @@ class GradientEditor : public Control {
// Make sure to use the scaled value below.
const int BASE_SPACING = 3;
const int BASE_POINT_WIDTH = 8;
const int BASE_HANDLE_WIDTH = 8;
int draw_spacing = BASE_SPACING;
int draw_point_width = BASE_POINT_WIDTH;
int handle_width = BASE_HANDLE_WIDTH;
void _gradient_changed();
void _ramp_changed();