diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-22 08:31:44 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-22 08:31:44 +0100 |
| commit | 4b4e701e06ecae6f754d206016b8dec5b9bb62d4 (patch) | |
| tree | b48a993dff6fd08bc4ca484bfc0e89c0b430f8f4 /editor/plugins/gradient_editor.h | |
| parent | c474e2f639e0e513c89feb0b7cf9c19e214f363c (diff) | |
| parent | 3c54d8752c3c770444680ad5fe0f1c50a0acf033 (diff) | |
| download | redot-engine-4b4e701e06ecae6f754d206016b8dec5b9bb62d4.tar.gz | |
Merge pull request #68964 from MewPurPur/tweak-gradient-editor
Fixes and improvements to Gradient preview
Diffstat (limited to 'editor/plugins/gradient_editor.h')
| -rw-r--r-- | editor/plugins/gradient_editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/gradient_editor.h b/editor/plugins/gradient_editor.h index 816b539ba2..f27cd8a188 100644 --- a/editor/plugins/gradient_editor.h +++ b/editor/plugins/gradient_editor.h @@ -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(); |
