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
+1
-1
@@ -2,7 +2,7 @@ name: openchamber
|
||||
description: "A lightweight OpenChamber client for phones."
|
||||
publish_to: 'none'
|
||||
|
||||
version: 0.4.0+400
|
||||
version: 0.4.1+401
|
||||
|
||||
environment:
|
||||
sdk: ^3.14.0
|
||||
|
||||
Reference in new issue
Block a user