Make minimap markers translucent
This commit is contained in:
parent
100572b94e
commit
014fa0f6bb
|
|
@ -162,6 +162,7 @@ Item {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: chatMinimap.width
|
width: chatMinimap.width
|
||||||
height: Math.max(2, chatMinimap.height / Math.max(1, chatModel.count) - 1)
|
height: Math.max(2, chatMinimap.height / Math.max(1, chatModel.count) - 1)
|
||||||
|
opacity: 0.65
|
||||||
color: {
|
color: {
|
||||||
switch (model.blockType) {
|
switch (model.blockType) {
|
||||||
case "user": return "#4caf50"
|
case "user": return "#4caf50"
|
||||||
|
|
|
||||||
Reference in New Issue