qml: fix network histogram gradient fee range to 600-1
This commit is contained in:
@@ -98,7 +98,7 @@ Pane {
|
||||
Layout.preferredWidth: 300 * (modelData[1] / Network.feeHistogram.total)
|
||||
Layout.fillWidth: true
|
||||
height: parent.height
|
||||
color: Qt.hsva(2/3-(2/3*(Math.log(modelData[0])/Math.log(Math.max(25, Network.feeHistogram.max_fee)))), 0.8, 1, 1)
|
||||
color: Qt.hsva(2/3-(2/3*(Math.log(Math.min(600, modelData[0]))/Math.log(600))), 0.8, 1, 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user