Refine Usage screen typography and match Claude Code spinner easing
- Drop "Claude" prefix from titles, center all three - Replace verbose "Current Session" / "Current Week" labels with rounded pills above the bar; reset countdown moves below the bar - Extend bar to fill panel inner width (was 8px short) - Symmetric vertical pill placement within panel - Spinner: per-frame hold times + ping-pong indexing, modeled on Claude Code's Cavalry triangle oscillator (turn-around frames hold ~2x longer) - Bottom spinner re-centered between weekly panel and screen edge - screenshot.sh: 480x320 -> 480x480 for the new panel - CLAUDE.md: document screenshot.sh + temporary boot-screen swap as the standard self-QA workflow for UI changes
This commit is contained in:
+3
-2
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Take a screenshot from the SC01 Plus display via LVGL snapshot.
|
||||
# Take a screenshot from the Waveshare AMOLED display via LVGL snapshot.
|
||||
# Usage: ./screenshot.sh [output.png] [port]
|
||||
|
||||
OUTPUT="${1:-screenshot.png}"
|
||||
@@ -55,9 +55,10 @@ if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ffmpeg -y -f rawvideo -pixel_format rgb565le -video_size 480x320 \
|
||||
ffmpeg -y -f rawvideo -pixel_format rgb565le -video_size 480x480 \
|
||||
-i "$TMPRAW" -update 1 -frames:v 1 "$OUTPUT" 2>/dev/null || true
|
||||
|
||||
|
||||
if [ -f "$OUTPUT" ]; then
|
||||
echo "Saved: $OUTPUT"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user