yetone
|
2ce745a850
|
tray: the menu bar bird is smaller (@SherlockYoYo on X: 菜单栏icon可以再优化一下吗,感觉这只鸟有些大) — drawn to the edges of its 22pt square it was a full 22pt wide, bigger than the menu bar's own glyphs, and its flap frames were cut off at the sides; build/icon/gen.go now draws it at .8 about the middle (trayK), about 18pt by 14pt, the still bird and every flap frame alike. TestTrayIconSize fails without the change. go vet, go build (darwin GUI), go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass.
|
2026-09-30 18:31:08 +08:00 |
|
yetone
|
33ffb48f50
|
tray: clicked, the bird flaps as the header logo does on hover (一定要用应用里的那个 Magpie icon 被 hover 的动画效果) — the frames were a bend of the outline of my own; now build/icon/gen.go draws app.css's .logo.wag itself: the bird cut into body, tail and wing by index.html's clip paths, each turned about the same origin through the same keyframes, cubic-bezier(.3, 0, .3, 1) between each two, the whole bobbing about its feet, over the same .9s — 29 frames played 30ms apart. Checked against Chrome's own rendering of the logo paused at the same 29 moments: at most 0.7% of pixels differ, all of them at anti-aliased edges
|
2026-09-28 18:43:55 +08:00 |
|
yetone
|
ebc33c721b
|
tray: a click on the bird flaps it — the wing beats twice and the tail flicks up once, 16 frames over about half a second (build/icon/gen.go tray-flap bends the outline about the tail's root and the shoulder, eased, so it stays one line); and the usage beside it no longer sits hard against it, a thin space between (Image #13: 图标与用量之间没有任何的间距)
|
2026-09-28 16:15:40 +08:00 |
|