Closed AAsteria closed 2 weeks ago
This PR implements UI improvements for the Mac window bar, focusing on proper zoom handling and layout adjustments. The changes include repositioning the window controls, adding zoom level support, and refactoring the component initialization process.
classDiagram
class BrowserZoomService {
- _level: number
- _ignored: HTMLElement[]
+ markAsIgnored(element: HTMLElement): IDisposable
+ setZoomLevel(level: number): void
- __zoomLevelToZoomFactor(level: number): number
+ __applyStyleToElement(element: HTMLElement, level: number): void
}
classDiagram
class MacWindowBar {
- hostService: IHostService
- lifecycleService: IBrowserLifecycleService
- browserZoomService: IBrowserZoomService
+ create(parent: HTMLElement): void
}
classDiagram
class QuickAccessBar {
- themeService: IThemeService
- componentService: IComponentService
- logService: ILogService
- _macWindowBar: MacWindowBar
+ _createContent(): void
}
Change | Details | Files |
---|---|---|
Refactored Mac window bar styling and positioning |
|
src/workbench/parts/navigationPanel/navigationBar/quickAccessBar/media/macWindowBar.scss |
Enhanced zoom handling in the BrowserZoomService |
|
src/workbench/services/zoom/zoomService.ts |
Updated MacWindowBar component initialization and zoom handling |
|
src/workbench/parts/navigationPanel/navigationBar/quickAccessBar/macWindowBar.ts |
Improved QuickAccessBar layout and initialization |
|
src/workbench/parts/navigationPanel/navigationBar/quickAccessBar/media/quickAccessBar.scss src/workbench/parts/navigationPanel/navigationBar/quickAccessBar/quickAccessBar.ts |
Pull Request Template
Description
Summary:
Issue(s) Addressed:
Changes
Type of Changes: Bug fix / new feature / breaking change / documentation
Checklist:
Reviewers Checklist:
Additional Context (Optional)
Add any other context or screenshots about the pull request here.
Summary by Sourcery
Enhancements: