Editor: Disable auto-translation of titles in AssetLib.

This commit is contained in:
Zae 2024-03-28 20:39:43 +08:00
parent 86415f0245
commit 361f693adc

View file

@ -143,6 +143,7 @@ EditorAssetLibraryItem::EditorAssetLibraryItem(bool p_clickable) {
vb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
title = memnew(LinkButton);
title->set_auto_translate_mode(AutoTranslateMode::AUTO_TRANSLATE_MODE_DISABLED);
title->set_underline_mode(LinkButton::UNDERLINE_MODE_ON_HOVER);
vb->add_child(title);