mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 13:00:01 -08:00
[Client] Fix alt badge and trail review findings
- Drop the dead VPN warning branch: rowVisible() already hides IP rows above the threshold, so setVpnThreshold(), its member and the spin-box connect never took effect. - Dim IP rows at shared_count > 2 instead of > 1: the count already includes the investigated account, so every IP row was dimmed. - Truncate backStack when a breadcrumb is clicked instead of pushing the current user again, so the trail keeps a single path and Back works. - Word-wrap the trail label so a long chain cannot widen the tab. - Extract the status/match pill painting into widgets/utility/pill_painter and use it from both delegates instead of duplicating it.
This commit is contained in:
parent
25df7634fb
commit
0a2d91076d
8 changed files with 120 additions and 92 deletions
|
|
@ -293,6 +293,8 @@ set(cockatrice_SOURCES
|
|||
src/interface/widgets/utility/custom_line_edit.cpp
|
||||
src/interface/widgets/utility/epoch_format.h
|
||||
src/interface/widgets/utility/get_text_with_max.cpp
|
||||
src/interface/widgets/utility/pill_painter.cpp
|
||||
src/interface/widgets/utility/pill_painter.h
|
||||
src/interface/widgets/utility/report_utils.cpp
|
||||
src/interface/widgets/utility/report_utils.h
|
||||
src/interface/widgets/utility/table_activation.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue