fix: float the pet over the messages and let it be dragged
The pet used to sit in the column above the composer, reserving a strip of its own: the message list ended there, which read as an opaque band cutting off the last row. It is now a layer over the message area, so the list keeps its full height and shows through around the sprite. Only the body of the sheet takes touches (contentBox, 4dp out); taps and drags on the transparent canvas still reach the messages underneath. Dragging the body moves the pet along the composer's top edge (or the activity cap's) with a small lift while held and the pack's drag reaction. The spot is stored as a fraction of the width in pet.x.v1, so a restart or a change in width puts it back in the same place. Taps now react on tap-up so a drag does not fire a left/right reaction. 0.4.1 (401).
This commit is contained in:
1 parent
d72af036a1
commit
d25167de58
8 files changed
+348
-58
No files matched your search
@@ -5,7 +5,7 @@ Android first. This branch (`flutter`) is a framework evaluation: the same
|
||||
feature set as the earlier Asuka/Go and MyGo attempts, reimplemented in
|
||||
Flutter to compare mobile UI maturity.
|
||||
|
||||
Status: 0.4.0 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
Status: 0.4.1 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
SOCKS5/socks5h proxy, self-signed certificates and pinning), session list with search and live
|
||||
events, chat with streaming Markdown and full history paging, tool steps
|
||||
grouped per turn (icon, one-line summary, foldable run) with image previews, a
|
||||
@@ -26,7 +26,9 @@ pending bubble that can be withdrawn; while a turn runs, an activity strip above
|
||||
the input names the current step and its clock instead of the finished turn's
|
||||
footer. Pets are opt-in: nothing is built in, and a dsh-Go sprite pack (a zip
|
||||
with pack.json) is imported from Settings → 宠物 to stand above the input and
|
||||
react to the turn's mood. The picker groups providers, favourites,
|
||||
react to the turn's mood. The pet floats over the messages (only its body
|
||||
takes touches) and can be dragged along the input's top edge; the spot is
|
||||
remembered on the device. The picker groups providers, favourites,
|
||||
recents and context size. The sidebar footer names the connected server (tap to
|
||||
switch) beside a settings key; settings holds appearance (theme mode and seed
|
||||
colour, device-local), the server's follow-up behavior (steer or queue on a send
|
||||
|
||||
Reference in new issue
Block a user