mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Fix script editor CTRL+CLICK on singleton functions
This commit is contained in:
parent
c9f5288b67
commit
0c1a71b047
@ -746,6 +746,8 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c
|
||||
|
||||
_goto_line(p_row);
|
||||
|
||||
result.class_name = result.class_name.trim_prefix("_");
|
||||
|
||||
switch (result.type) {
|
||||
case ScriptLanguage::LookupResult::RESULT_SCRIPT_LOCATION: {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user