Spare .copy() for array removed.
This commit is contained in:
parent
6c693fa1fe
commit
2be8374cb0
|
@ -1143,7 +1143,7 @@ namespace Gtk.CairoChart {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual Point[] sort_points (Series s, Series.Sort sort) {
|
protected virtual Point[] sort_points (Series s, Series.Sort sort) {
|
||||||
var points = s.points.copy();
|
var points = s.points;
|
||||||
switch(sort) {
|
switch(sort) {
|
||||||
case Series.Sort.BY_X:
|
case Series.Sort.BY_X:
|
||||||
sort_points_delegate(points, (a, b) => {
|
sort_points_delegate(points, (a, b) => {
|
||||||
|
|
Loading…
Reference in New Issue