Skip to content

Commit

Permalink
Show the buffer number for all buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBriza committed Nov 27, 2022
1 parent b369287 commit dd30cf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/BufferList.qml
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ Rectangle {
Rectangle {
width: bufferName.height + 6
height: width
color: "#22000000"
opacity: buffer && buffer.number <= 10 && !buffer.isServer ? 1 : 0
color: buffer && buffer.number <= 10 && !buffer.isServer ? "#22000000" : "transparent"
radius: 2
Text {
text: buffer ? buffer.number : ""
anchors.centerIn: parent
color: disabledPalette.text
opacity: buffer && buffer.number <= 10 && !buffer.isServer ? 1.0 : 0.4
}
Behavior on opacity { NumberAnimation { duration: 100 } }
}
Expand Down

0 comments on commit dd30cf5

Please sign in to comment.