dock: refresh cached panel titles on language switch
CI / Build & test (Windows) (push) Canceled after 0s
CI / Build & test (Arch) (push) Canceled after 0s
CI / Build & test (Debian) (push) Canceled after 0s
CI / Build & test (Fedora) (push) Canceled after 0s
CI / Build & test (macOS) (push) Canceled after 0s
CI / Build & test (openKylin arm64) (push) Canceled after 0s
CI / Build & test (openKylin x64) (push) Canceled after 0s
CI / Build & test (Windows) (push) Canceled after 0s
CI / Build & test (Arch) (push) Canceled after 0s
CI / Build & test (Debian) (push) Canceled after 0s
CI / Build & test (Fedora) (push) Canceled after 0s
CI / Build & test (macOS) (push) Canceled after 0s
CI / Build & test (openKylin arm64) (push) Canceled after 0s
CI / Build & test (openKylin x64) (push) Canceled after 0s
PanelHandle snapshots DockPanel::title at registration and the tab strip renders that cache, so switching the UI language at runtime (menu or preferences) left every docked tab in the previous language. Capture a type-erased title reader and notifier from the concrete panel entity and add DockArea::refresh_panel_titles, which re-reads each title, marks the panel view dirty for localized content, and repaints the chrome. Also fix the timeline_view test fixture that missed ClipRenderData's multicam field (gpui's test target did not compile).
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 692 KiB |
Reference in New Issue
Block a user