Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

The face is named as the one place the logo's shape is drawn in code

Țugui Dragoș4596cfa42743
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4d0c04d6..3dbd7dda 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -215,7 +215,9 @@ read in one sitting.
separators. A row that stands alone, such as a header or a notice, may hide its own, which costs nothing.
- **The interface follows Liquid Glass.** The sticker album look belongs to Home, the menu bar panel, and About
only; every other screen reads as macOS (system type, `Form` and `Section`, native controls). Icons are SF
- Symbols, and the logo comes only from `Logo/`.
+ Symbols, and the logo comes only from `Logo/`, but for the face at the head of the sidebar, which draws the logo's
+ shape in code so it can move (`Face` in `PeelFace.swift`) and peels it less on purpose, so its eyes have room: a
+ change to the logo's shape changes those numbers too.
## Proposing a change
diff --git a/Peel/Views/Stickers/PeelFace.swift b/Peel/Views/Stickers/PeelFace.swift
index 4696723c..38a3717f 100644
--- a/Peel/Views/Stickers/PeelFace.swift
+++ b/Peel/Views/Stickers/PeelFace.swift
@@ -653,7 +653,8 @@ nonisolated private struct PeelFlap: Shape {
}
/// The face's measurements, in a square 100 units wide with y running down, like an SVG `viewBox`. `radius`
-/// is a fraction of that side.
+/// is a fraction of that side. The shape is the logo's in `Logo/`, drawn here so it can move, and a change to the
+/// logo's shape changes these too.
nonisolated private enum Face {
static let radius = 0.4853
/// How far the fold sits from the middle, in radii. Higher peels less; 0.606 is the logo's own.