Skip to content

DESIGN: macOS에서 창 조작 버튼을 시스템 신호등 버튼으로 - #48

Merged
RosieOh merged 1 commit into
mainfrom
feat/macos-traffic-lights
Sep 26, 2026
Merged

RosieOh merged 1 commit into
mainfrom
feat/macos-traffic-lights

Conversation

@RosieOh

@RosieOh RosieOh commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

무엇을

macOS에서도 오른쪽 위에 Windows식 최소화·최대화·닫기 버튼이 보였습니다(#14).

어떻게

  • macOS만: 창 테두리를 켜고 TitleBarStyle::Overlay + hidden_title. 시스템 신호등 버튼이 제목 표시줄 왼쪽 위에 겹침
  • 화면: <html class="mac">이면 제목 표시줄 왼쪽 72px를 비우고 직접 그린 창 조작 버튼을 숨김. 전체 화면이면(신호등이 사라짐) 여백도 없앰 (core:window:allow-is-fullscreen 권한 추가)
  • Windows·Linux: 바뀌는 것 없음 (decorations(false)를 macOS가 아닐 때만)

확인

  • Windows 빌드·clippy, macOS 빌드는 CI
  • macOS 화면은 아직 직접 확인하지 못함. 다음 릴리스에서 실제 맥으로 신호등 위치(제목 표시줄 높이 36px 안에서 세로 가운데인지)와 창 끌기를 확인한 뒤 #14를 닫습니다.

Refs #14

@RosieOh RosieOh added type: design 화면 배치·스타일 area: editor 편집기·작업·채팅 화면 (app/src) labels Sep 26, 2026
제목 표시줄을 직접 그려 macOS에서도 오른쪽 위에 Windows식 최소화·최대화·닫기 버튼이 보였음. macOS에서는 창 테두리를 켜고 TitleBarStyle::Overlay로 시스템 신호등 버튼을 제목 표시줄 왼쪽에 겹쳐 두며, 그 자리를 비우고 직접 그린 버튼은 숨김. 전체 화면에서는 신호등이 사라지므로 여백도 없앰. Windows·Linux는 그대로.

Refs #14
@RosieOh
RosieOh force-pushed the feat/macos-traffic-lights branch from e0b5e34 to fafe538 Compare September 26, 2026 18:29
@RosieOh
RosieOh merged commit f1f5524 into main Sep 26, 2026
3 checks passed
@RosieOh
RosieOh deleted the feat/macos-traffic-lights branch September 26, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: editor 편집기·작업·채팅 화면 (app/src) type: design 화면 배치·스타일

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant