Commit 1ddc86a
authored
Change default value for sorting dropdown in settings (tensorflow#7051)
## Motivation for features / changes
The tooltip is now limited to 5 items, so the default sorting should
prioritize the most relevant data. Setting Nearest Pixel as the default
ensures the tooltip shows the items closest to the cursor, reducing
clutter and improving readability.
## Technical description of changes
Updated the dropdown settings view component to use Nearest Pixel as the
default sorting option. This affects the initial tooltip ordering logic
so the first 5 displayed items are the ones closest to the cursor
position.1 parent a82193a commit 1ddc86a
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
0 commit comments