Rename theme properties to include underscores
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
This commit is contained in:
@ -250,8 +250,8 @@ void AnimationBezierTrackEdit::_notification(int p_what) {
|
||||
Ref<Font> font = get_theme_font(SNAME("font"), SNAME("Label"));
|
||||
int font_size = get_theme_font_size(SNAME("font_size"), SNAME("Label"));
|
||||
Color color = get_theme_color(SNAME("font_color"), SNAME("Label"));
|
||||
int hsep = get_theme_constant(SNAME("hseparation"), SNAME("ItemList"));
|
||||
int vsep = get_theme_constant(SNAME("vseparation"), SNAME("ItemList"));
|
||||
int hsep = get_theme_constant(SNAME("h_separation"), SNAME("ItemList"));
|
||||
int vsep = get_theme_constant(SNAME("v_separation"), SNAME("ItemList"));
|
||||
Color linecolor = color;
|
||||
linecolor.a = 0.2;
|
||||
|
||||
@ -1585,14 +1585,14 @@ void AnimationBezierTrackEdit::_bind_methods() {
|
||||
|
||||
ADD_SIGNAL(MethodInfo("timeline_changed", PropertyInfo(Variant::FLOAT, "position"), PropertyInfo(Variant::BOOL, "drag")));
|
||||
ADD_SIGNAL(MethodInfo("remove_request", PropertyInfo(Variant::INT, "track")));
|
||||
ADD_SIGNAL(MethodInfo("insert_key", PropertyInfo(Variant::FLOAT, "ofs")));
|
||||
ADD_SIGNAL(MethodInfo("insert_key", PropertyInfo(Variant::FLOAT, "offset")));
|
||||
ADD_SIGNAL(MethodInfo("select_key", PropertyInfo(Variant::INT, "track"), PropertyInfo(Variant::INT, "index"), PropertyInfo(Variant::BOOL, "single")));
|
||||
ADD_SIGNAL(MethodInfo("deselect_key", PropertyInfo(Variant::INT, "track"), PropertyInfo(Variant::INT, "index")));
|
||||
ADD_SIGNAL(MethodInfo("clear_selection"));
|
||||
ADD_SIGNAL(MethodInfo("close_request"));
|
||||
|
||||
ADD_SIGNAL(MethodInfo("move_selection_begin"));
|
||||
ADD_SIGNAL(MethodInfo("move_selection", PropertyInfo(Variant::FLOAT, "ofs")));
|
||||
ADD_SIGNAL(MethodInfo("move_selection", PropertyInfo(Variant::FLOAT, "offset")));
|
||||
ADD_SIGNAL(MethodInfo("move_selection_commit"));
|
||||
ADD_SIGNAL(MethodInfo("move_selection_cancel"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user