mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 15:21:15 -07:00
Fix cursorShape for sidebar controls
This commit is contained in:
parent
101df0035d
commit
3a8de56f66
5 changed files with 43 additions and 1 deletions
|
|
@ -117,6 +117,13 @@ Rectangle
|
|||
checkable: true;
|
||||
checked: base.currentModeIndex == index
|
||||
onClicked: base.currentModeIndex = index
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
cursorShape: checked ? Qt.ArrowCursor : Qt.PointingHandCursor
|
||||
acceptedButtons: Qt.NoButton
|
||||
}
|
||||
|
||||
style: ButtonStyle {
|
||||
background: Rectangle {
|
||||
border.color: control.checked ? UM.Theme.colors.toggle_checked_border :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue