You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
This commit is contained in:
@@ -284,6 +284,7 @@ TexturePreview::TexturePreview(Ref<Texture2D> p_texture, bool p_show_metadata) {
|
||||
|
||||
if (p_show_metadata) {
|
||||
metadata_label = memnew(Label);
|
||||
metadata_label->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
|
||||
if (p_texture.is_valid()) {
|
||||
_update_metadata_label_text();
|
||||
|
||||
Reference in New Issue
Block a user