diff --git a/modules/material_maker/editor/widgets/curve_edit/curve_edit.h b/modules/material_maker/editor/widgets/curve_edit/curve_edit.h index 443a5fc40..714ee46ae 100644 --- a/modules/material_maker/editor/widgets/curve_edit/curve_edit.h +++ b/modules/material_maker/editor/widgets/curve_edit/curve_edit.h @@ -1,13 +1,13 @@ #ifndef CURVE_EDIT_H #define CURVE_EDIT_H -#include "scene/gui/control.h" +#include "scene/gui/button.h" class CurveView; class CurveBase; -class CurveEdit : public Control { - GDCLASS(CurveEdit, Control); +class CurveEdit : public Button { + GDCLASS(CurveEdit, Button); public: Ref get_value();