summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gradient_editor.h
diff options
context:
space:
mode:
authorVolTer <mew.pur.pur@abv.bg>2022-11-21 18:19:44 +0100
committerVolTer <mew.pur.pur@abv.bg>2022-11-21 23:32:38 +0100
commit3c54d8752c3c770444680ad5fe0f1c50a0acf033 (patch)
tree0e298adbbbc14f982902664f845d1c08f62804b6 /editor/plugins/gradient_editor.h
parent84c404f6bcce9ba112118d77afd6bd70a92774d1 (diff)
downloadredot-engine-3c54d8752c3c770444680ad5fe0f1c50a0acf033.tar.gz
Fix Gradient preview issues
Diffstat (limited to 'editor/plugins/gradient_editor.h')
-rw-r--r--editor/plugins/gradient_editor.h4
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();