Commit 230bd4e
authored
show the most common available duplicate as duplicate value (#78)
Instead of showing the shortest notation possible of any duplicate color, show the one that's the most common as the duplicate value. It makes more sense to show `#fff` as a duplicate if it appears 100 times as opposed to showing `white` that only appears once.1 parent 3b35f6c commit 230bd4e
File tree
2 files changed
+6
-2
lines changed- src/analyzer/values
- test/analyzer/values
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
0 commit comments