mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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:
parent
7b10bae916
commit
13279a7da7
3 changed files with 59 additions and 8 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue