Merge pull request #11288 from osmandapp/FixRouteLine2

Fix: can't save route line appearance after select "map style" in editing
This commit is contained in:
Vitaliy 2021-03-30 12:29:32 +03:00 committed by GitHub
commit 118721bb9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
} }