Don't focus on buttons in Task Palette

This commit is contained in:
Serhii Snitsaruk 2023-12-17 13:58:42 +01:00
parent eccbfc6a0e
commit c20e0dfc2d
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,10 @@ Control *TaskButton::make_custom_tooltip(const String &p_text) const {
return help_bit; return help_bit;
} }
TaskButton::TaskButton() {
set_focus_mode(FOCUS_NONE);
}
//**** TaskButton ^ //**** TaskButton ^
//**** TaskPaletteSection //**** TaskPaletteSection

View File

@ -25,6 +25,8 @@ class TaskButton : public Button {
public: public:
virtual Control *make_custom_tooltip(const String &p_text) const override; virtual Control *make_custom_tooltip(const String &p_text) const override;
TaskButton();
}; };
class TaskPaletteSection : public VBoxContainer { class TaskPaletteSection : public VBoxContainer {