Add option to input value manually in EditorPropertyEasing

Double-clicking on the EditorPropertyEasing widget (e.g. for the Light
Attenuation parameter) shows an EditorSpinSlider to set the value manually.

Fixes #8449.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
AnaDenisa 2018-12-04 12:30:00 +00:00 committed by Rémi Verschelde
parent 7b10bae916
commit 13279a7da7
3 changed files with 59 additions and 8 deletions

View file

@ -102,6 +102,9 @@ public:
void set_custom_label_color(bool p_use_custom_label_color, Color p_custom_label_color);
void setup_and_show() { _focus_entered(); }
LineEdit *get_line_edit() { return value_input; }
virtual Size2 get_minimum_size() const;
EditorSpinSlider();
};