mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
LinearSpectrum: minimum 1px height
This commit is contained in:
@@ -21,7 +21,7 @@ Item {
|
||||
antialiasing: true
|
||||
|
||||
width: xScale * 0.5
|
||||
height: root.height * amp
|
||||
height: Math.max(1, root.height * amp)
|
||||
x: index * xScale
|
||||
y: root.height - height
|
||||
}
|
||||
@@ -38,7 +38,7 @@ Item {
|
||||
antialiasing: true
|
||||
|
||||
width: xScale * 0.5
|
||||
height: root.height * amp
|
||||
height: Math.max(1, root.height * amp)
|
||||
x: (values.length + index) * xScale
|
||||
y: root.height - height
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user