effects/overview: Give the editor of desktop name a background

Show background to indicate the name of a virtual desktop is being edited.
This commit is contained in:
Fushan Wen 2021-10-30 23:09:55 +08:00 committed by Nate Graham
parent 61f7b2e499
commit f4ca7a43c1

View file

@ -197,11 +197,12 @@ Item {
}
}
TextInput {
PC3.TextField {
id: editor
anchors.fill: parent
visible: label.state == "editing"
color: PlasmaCore.ColorScope.textColor
topPadding: 0
bottomPadding: 0
text: delegate.desktop.name
onEditingFinished: {
delegate.desktop.name = text;