forked from MapComplete/MapComplete
UI: move OH indicators in two bars more aggressively
This commit is contained in:
parent
4744471495
commit
dabc6500bb
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ changes // => [[36000,61200], ["10:00", "17:00"]]
|
||||||
* OH.partitionOHForDistance([0, 15, 3615], ["start", "15s", "1h15s"]) // => [{changeHours: [0, 3615], changeTexts: ["start", "1h15s"]}, {changeHours: [15], changeTexts: ["15s"]}]
|
* OH.partitionOHForDistance([0, 15, 3615], ["start", "15s", "1h15s"]) // => [{changeHours: [0, 3615], changeTexts: ["start", "1h15s"]}, {changeHours: [15], changeTexts: ["15s"]}]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static partitionOHForDistance(changeHours: number[], changeHourText: string[], maxDiff = 3600): {
|
public static partitionOHForDistance(changeHours: number[], changeHourText: string[], maxDiff = 5400): {
|
||||||
changeHours: number[],
|
changeHours: number[],
|
||||||
changeTexts: string[]
|
changeTexts: string[]
|
||||||
}[] {
|
}[] {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue