Fix: can't save route line appearance after select "map style" color in editing

This commit is contained in:
nazar-kutz 2021-03-30 12:27:26 +03:00
parent 446650a80e
commit 1affe2f602

View file

@ -175,8 +175,8 @@ public class RouteLineDrawInfo {
RouteLineDrawInfo that = (RouteLineDrawInfo) o; RouteLineDrawInfo that = (RouteLineDrawInfo) o;
if (!Algorithms.objectEquals(colorDay, that.colorDay)) return false; if (!Algorithms.objectEquals(getColor(false), that.getColor(false))) return false;
if (!Algorithms.objectEquals(colorNight, that.colorNight)) return false; if (!Algorithms.objectEquals(getColor(true), that.getColor(true))) return false;
return Algorithms.objectEquals(width, that.width); return Algorithms.objectEquals(width, that.width);
} }