Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify FocusableControl.qml by removing unnecessary content wrapper #24875

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ import Muse.Ui 1.0
FocusScope {
id: root

default property alias content: contentItemContainer.data
property alias contentItem: contentItemContainer
property alias background: focusRectItem
property alias focusBorder: focusBorderItem

Expand Down Expand Up @@ -92,10 +90,4 @@ FocusScope {
root.ensureActiveFocus()
}
}

Item {
id: contentItemContainer
objectName: "FocusableControlContent"
anchors.fill: focusRectItem
}
}