Skip to content

Commit

Permalink
Distinguish existing/new filters by a bit more opacity difference. [r…
Browse files Browse the repository at this point in the history
…ebuild] [release]
  • Loading branch information
dabreegster committed Oct 31, 2022
1 parent 34643e3 commit 165483b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/ltn/src/crossings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fn draw_crossings(ctx: &EventCtx, app: &App) -> Toggle3Zoomed {
let rewrite_color = if crossing.user_modified {
RewriteColor::NoOp
} else {
RewriteColor::ChangeAlpha(0.8)
RewriteColor::ChangeAlpha(0.7)
};

let icon = &icons[&crossing.kind];
Expand Down
4 changes: 2 additions & 2 deletions apps/ltn/src/filters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Edits {
let rewrite_color = if filter.user_modified {
RewriteColor::NoOp
} else {
RewriteColor::ChangeAlpha(0.8)
RewriteColor::ChangeAlpha(0.7)
};

let road = map.get_r(*r);
Expand Down Expand Up @@ -201,7 +201,7 @@ impl Edits {
let rewrite_color = if filter.user_modified {
RewriteColor::NoOp
} else {
RewriteColor::ChangeAlpha(0.8)
RewriteColor::ChangeAlpha(0.7)
};

let line = filter.geometry(map);
Expand Down

0 comments on commit 165483b

Please sign in to comment.