CurveEdit needs to inherit from Button.

This commit is contained in:
Relintai 2022-06-15 20:30:11 +02:00
parent 0ee27d830b
commit 59baf2088f

View File

@ -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<CurveBase> get_value();