Commit ddebd70
committed
Fix an off-by-one bug when adding points to a diverging colormap
Symptom: if we added a new point on the lower side of the colormap,
adjacent to the middle "fixed point", then the new point would become
the fixed point and the original fixed point would become part of the
upper half of the colormap.1 parent a222272 commit ddebd70
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments