diff options
author | FIF15 <zhao239326744@outlook.com> | 2020-11-30 12:28:45 +0800 |
---|---|---|
committer | FIF15 <zhao239326744@outlook.com> | 2020-11-30 12:28:45 +0800 |
commit | 96fb9eeca496b6c79b9cc578edb000927cd592bc (patch) | |
tree | 0071617fa429f4137557fc1b6947b26293d959cc /scene | |
parent | 0167bfa530bb4c19ff237d2f12927c60ac452ad7 (diff) |
fix #43695 by revert part of #41576
Note that #42109 already reverted the change of MenuButton,
and actually fixed #43695.
As a result, this commit only reverts the change to LinkButton,
in order to prevent unpredictable consequences.
Diffstat (limited to 'scene')
-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); } |