QML UI, cleanup: no reason for 2 overlapping mouseareas
Fully usure why the code was as it was. The trip header had 2 overlapping mouse areas, to expand the trip and vise versa. Simply remove the smallest one. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
bce952615c
commit
751286e4e7
@ -314,15 +314,6 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
color: subsurfaceTheme.lightPrimaryTextColor
|
||||
}
|
||||
MouseArea {
|
||||
anchors.fill: sectionText
|
||||
onClicked: {
|
||||
if (activeTrip === section)
|
||||
activeTrip = ""
|
||||
else
|
||||
activeTrip = section
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
height: Math.max(2, Kirigami.Units.gridUnit / 12) // we want a thicker line
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user