Don't focus on buttons in Task Palette
This commit is contained in:
parent
eccbfc6a0e
commit
c20e0dfc2d
|
@ -41,6 +41,10 @@ Control *TaskButton::make_custom_tooltip(const String &p_text) const {
|
|||
return help_bit;
|
||||
}
|
||||
|
||||
TaskButton::TaskButton() {
|
||||
set_focus_mode(FOCUS_NONE);
|
||||
}
|
||||
|
||||
//**** TaskButton ^
|
||||
|
||||
//**** TaskPaletteSection
|
||||
|
|
|
@ -25,6 +25,8 @@ class TaskButton : public Button {
|
|||
|
||||
public:
|
||||
virtual Control *make_custom_tooltip(const String &p_text) const override;
|
||||
|
||||
TaskButton();
|
||||
};
|
||||
|
||||
class TaskPaletteSection : public VBoxContainer {
|
||||
|
|
Loading…
Reference in New Issue