mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 16:11:22 +00:00
removed duplicated functions in class hierarchy that were bound more than once
added a check to detect this case in the future
This commit is contained in:
parent
93ab45b6b5
commit
dcb95ec147
46 changed files with 179 additions and 210 deletions
|
|
@ -1194,7 +1194,7 @@ void ScriptTextEditor::_text_edit_gui_input(const InputEvent& ev) {
|
|||
Vector<float> color = stripped.split_floats(",");
|
||||
if (color.size() > 2) {
|
||||
float alpha = color.size() > 3 ? color[3] : 1.0f;
|
||||
color_picker->set_color(Color(color[0], color[1], color[2], alpha));
|
||||
color_picker->set_pick_color(Color(color[0], color[1], color[2], alpha));
|
||||
}
|
||||
color_panel->set_pos(get_global_transform().xform(get_local_mouse_pos()));
|
||||
Size2 ms = Size2(300, color_picker->get_combined_minimum_size().height+10);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue