mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add Various ColorPicker shapes
This commit is contained in:
parent
55faf1c874
commit
6294507acb
12 changed files with 348 additions and 78 deletions
|
@ -1721,6 +1721,9 @@ void ScriptTextEditor::_enable_code_editor() {
|
|||
color_picker->set_raw_mode(true);
|
||||
}
|
||||
|
||||
int picker_shape = EDITOR_GET("interface/inspector/default_color_picker_shape");
|
||||
color_picker->set_picker_shape((ColorPicker::PickerShapeType)picker_shape);
|
||||
|
||||
quick_open = memnew(ScriptEditorQuickOpen);
|
||||
quick_open->connect("goto_line", callable_mp(this, &ScriptTextEditor::_goto_line));
|
||||
add_child(quick_open);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue