diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-30 09:39:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 09:39:27 +0100 |
commit | 2c6e6e930ebcf401346976eaf6bdbbb875ff3fa6 (patch) | |
tree | fee9240cb4897c27f1023e6fece753c85c6a8935 | |
parent | 78d9aa99cabb47b2f285323e119bbef7972c1822 (diff) | |
parent | 96fb9eeca496b6c79b9cc578edb000927cd592bc (diff) |
Merge pull request #43977 from FIF15/restore-default-focus-mode-on-master
fix #43695 on master by revert part of #41576
-rw-r--r-- | scene/gui/link_button.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/link_button.cpp b/scene/gui/link_button.cpp index d85c8d2112..b66ee514dc 100644 --- a/scene/gui/link_button.cpp +++ b/scene/gui/link_button.cpp @@ -295,5 +295,6 @@ void LinkButton::_bind_methods() { LinkButton::LinkButton() { text_buf.instance(); underline_mode = UNDERLINE_MODE_ALWAYS; + set_focus_mode(FOCUS_NONE); set_default_cursor_shape(CURSOR_POINTING_HAND); } |