feat: initial commit for pixel-snapping components and helpers
This commit is contained in:
@@ -99,6 +99,7 @@ ProgressBar {
|
||||
}
|
||||
|
||||
Line {
|
||||
id: dot
|
||||
property real implicitSize
|
||||
|
||||
anchors.right: parent.right
|
||||
@@ -124,8 +125,7 @@ ProgressBar {
|
||||
anchors.left: parent.left
|
||||
|
||||
Behavior on implicitWidth {
|
||||
Anim {
|
||||
}
|
||||
Anim {}
|
||||
}
|
||||
|
||||
Component.onCompleted: implicitWidth = Qt.binding(() => parent.width * root.visualPosition)
|
||||
@@ -222,8 +222,7 @@ ProgressBar {
|
||||
}
|
||||
}
|
||||
Behavior on color {
|
||||
CAnim {
|
||||
}
|
||||
CAnim {}
|
||||
}
|
||||
Anim on waveProgress {
|
||||
duration: root.waveDuration
|
||||
|
||||
Reference in New Issue
Block a user