mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Modify the scale of the cell on mouse over
This will differentiate the mouse over accent vs the selection accent
This commit is contained in:
parent
88de0ae25a
commit
55f7c4e1b0
@ -59,6 +59,12 @@ Rectangle {
|
||||
height: grid.cellHeight
|
||||
color: "#00000000"
|
||||
|
||||
scale: mouseArea.containsMouse ? 1.025 : 1
|
||||
|
||||
Behavior on scale {
|
||||
NumberAnimation { duration: 90 }
|
||||
}
|
||||
|
||||
DropShadow {
|
||||
anchors.fill: realCell
|
||||
horizontalOffset: 0
|
||||
@ -131,7 +137,7 @@ Rectangle {
|
||||
border.color: (Qt.platform.os === "osx") ? selectedBorderColor : "#ffcc00"
|
||||
border.width: 3
|
||||
|
||||
opacity: (dummyValue || !dummyValue) && (comicsSelectionHelper.isSelectedIndex(index) || mouseArea.containsMouse) ? 1 : 0
|
||||
opacity: (dummyValue || !dummyValue) && comicsSelectionHelper.isSelectedIndex(index) ? 1 : 0
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation { duration: 300 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user