Commit 3b21900
committed
frontend: fix chart edgecase to properly update the total amount
On mobile the total changes when the user selects a point on the
chart so that they can see exact amount at the time.
With scrolling or 2nd finger changing the currency it can happen
that the amount does not update, ending up with a wrong amount/unit.
Fixed by resetting the tooltip value if the currency changes.1 parent 0c3f44f commit 3b21900
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
166 | 177 | | |
167 | 178 | | |
168 | 179 | | |
| |||
0 commit comments