bugfixes
This commit is contained in:
@@ -26,11 +26,11 @@ function symbolChanged(symbol) {
|
||||
if (symbol===null)
|
||||
co.selectedSymbol = null
|
||||
else {
|
||||
updateFeeDropdown()
|
||||
const info = lookupSymbol(symbol.ticker)
|
||||
symbolChangedCbs.forEach((cb) => cb(info))
|
||||
co.selectedSymbol = info
|
||||
}
|
||||
updateFeeDropdown()
|
||||
}
|
||||
|
||||
|
||||
@@ -109,7 +109,10 @@ export function updateFeeDropdown() {
|
||||
const [_addr, fee] = p
|
||||
return {
|
||||
title: (fee / 10000).toFixed(2) + '%',
|
||||
onSelect: fee === symbolItem.fee ? ()=>{} : () => selectPool(fee),
|
||||
onSelect: ()=>{
|
||||
if (fee !== symbolItem.fee)
|
||||
selectPool(fee)
|
||||
},
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -460,7 +463,7 @@ export function deleteShapeId(id) {
|
||||
chart.removeEntity(id)
|
||||
}
|
||||
|
||||
const MEAN_RANGE_MULTIPLIER = 10
|
||||
const MEAN_RANGE_MULTIPLIER = 3
|
||||
|
||||
function chartMeanRange() {
|
||||
let range = 0
|
||||
|
||||
Reference in New Issue
Block a user