Avoid project manager from processing gamepad input
This commit is contained in:
parent
9e9e4f96a2
commit
fd59d17b22
@ -348,6 +348,13 @@ struct ProjectItem {
|
|||||||
_FORCE_INLINE_ bool operator ==(const ProjectItem& l) const { return project==l.project; }
|
_FORCE_INLINE_ bool operator ==(const ProjectItem& l) const { return project==l.project; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void ProjectManager::_notification(int p_what) {
|
||||||
|
|
||||||
|
if (p_what==NOTIFICATION_ENTER_TREE) {
|
||||||
|
|
||||||
|
get_tree()->set_editor_hint(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void ProjectManager::_panel_draw(Node *p_hb) {
|
void ProjectManager::_panel_draw(Node *p_hb) {
|
||||||
|
|
||||||
|
@ -85,6 +85,7 @@ class ProjectManager : public Control {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
public:
|
public:
|
||||||
ProjectManager();
|
ProjectManager();
|
||||||
|
Loading…
Reference in New Issue
Block a user