mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
This commit is contained in:
parent
1696ab0cb6
commit
5b49fd4207
84 changed files with 159 additions and 14 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue