-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add customizable squircle option #1443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
29a53fb
0e6bbb3
69594bd
ba6dbbe
5d61eb2
fd0edbf
be6d45b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -357,10 +357,10 @@ export type AudioMeta = { path: string; | |
| start_time?: number | null } | ||
| export type AuthSecret = { api_key: string } | { token: string; expires: number } | ||
| export type AuthStore = { secret: AuthSecret; user_id: string | null; plan: Plan | null; intercom_hash: string | null; organizations?: Organization[] } | ||
| export type BackgroundConfiguration = { source: BackgroundSource; blur: number; padding: number; rounding: number; roundingType?: CornerStyle; inset: number; crop: Crop | null; shadow?: number; advancedShadow?: ShadowConfiguration | null; border?: BorderConfiguration | null } | ||
| export type BackgroundConfiguration = { source: BackgroundSource; blur: number; padding: number; rounding: number; roundingSmoothness?: number; inset: number; crop: Crop | null; shadow?: number; advancedShadow?: ShadowConfiguration | null; border?: BorderConfiguration | null } | ||
| export type BackgroundSource = { type: "wallpaper"; path: string | null } | { type: "image"; path: string | null } | { type: "color"; value: [number, number, number]; alpha?: number } | { type: "gradient"; from: [number, number, number]; to: [number, number, number]; angle?: number } | ||
| export type BorderConfiguration = { enabled: boolean; width: number; color: [number, number, number]; opacity: number } | ||
| export type Camera = { hide: boolean; mirror: boolean; position: CameraPosition; size: number; zoomSize: number | null; rounding?: number; shadow?: number; advancedShadow?: ShadowConfiguration | null; shape?: CameraShape; roundingType?: CornerStyle } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Screenshot editor defaults use removed roundingType propertyThe type definitions for |
||
| export type Camera = { hide: boolean; mirror: boolean; position: CameraPosition; size: number; zoomSize: number | null; rounding?: number; shadow?: number; advancedShadow?: ShadowConfiguration | null; shape?: CameraShape; roundingSmoothness?: number } | ||
| export type CameraInfo = { device_id: string; model_id: ModelIDType | null; display_name: string } | ||
| export type CameraPosition = { x: CameraXPosition; y: CameraYPosition } | ||
| export type CameraPreviewShape = "round" | "square" | "full" | ||
|
|
@@ -380,7 +380,6 @@ export type CaptureWindowWithThumbnail = { id: WindowId; owner_name: string; nam | |
| export type ClipConfiguration = { index: number; offsets: ClipOffsets } | ||
| export type ClipOffsets = { camera?: number; mic?: number; system_audio?: number } | ||
| export type CommercialLicense = { licenseKey: string; expiryDate: number | null; refresh: number; activatedOn: number } | ||
| export type CornerStyle = "squircle" | "rounded" | ||
| export type Crop = { position: XY<number>; size: XY<number> } | ||
| export type CurrentRecording = { target: CurrentRecordingTarget; mode: RecordingMode; status: RecordingStatus } | ||
| export type CurrentRecordingChanged = null | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion | 🟠 Major
Remove the Tauri bug comment block to match “no comments” guideline
The multi‑line
/* ... */comment about the Tauri WebKit bug was modified in this PR and violates the guideline that.ts/.tsx/.js/.jsx/.rsfiles should not contain code comments. The surrounding code (manual extension validation) is already self‑explanatory.Consider deleting this block entirely and, if needed, capturing the context in commit messages or external docs instead.
🤖 Prompt for AI Agents