[ui] NodeEditor: Added mouse area to allow forcing focus to the parent item when clicking

This commit is contained in:
waaake 2025-02-06 09:34:21 +05:30
parent 1a08c31fb4
commit 1931ce05ce

View file

@ -255,6 +255,13 @@ Panel {
id: placeholder_component
Item {
id: panel
MouseArea {
anchors.fill: parent
onClicked: {
panel.forceActiveFocus();
}
}
Column {
anchors.centerIn: parent
MaterialLabel {