Commit ebd6e33
[RPP] Ensure entry re-highlights after clearing selection
If the user clicks an entry with an ENTRY_OUTLINE overlay, it will be
replaced with a ENTRY_SELECTED overlay. However, if the selection is
cleared (e.g. clicking somewhere in blank space) the ENTRY_OUTLINE will
not immediately be restored.
This CL resolves the issue by keeping the original ENTRY_OUTLINE
rendered, and using CSS to ensure that the ENTRY_SELECTED overlay is
always rendered on top of it.
Bug: None
Change-Id: Ia5263089b0e00433e2c500643646bcff019fd5ef
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6084661
Commit-Queue: Adam Raine <[email protected]>
Reviewed-by: Jack Franklin <[email protected]>1 parent 6b0be08 commit ebd6e33
File tree
3 files changed
+12
-9
lines changed- front_end/panels/timeline
- overlays
3 files changed
+12
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
355 | | - | |
356 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
| 786 | + | |
791 | 787 | | |
792 | 788 | | |
793 | 789 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| |||
0 commit comments