mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 0 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue