mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-09 01:17:30 -06:00
[feature] Update attachment format, receive + send focalPoint prop + use it on the frontend
This commit is contained in:
parent
68ed7aba25
commit
b841e9e9b1
19 changed files with 595 additions and 81 deletions
|
|
@ -709,6 +709,12 @@ func NewTestAttachments() map[string]*gtsmodel.MediaAttachment {
|
|||
Size: 137216,
|
||||
Aspect: 1.9104477,
|
||||
},
|
||||
// Focus on top-left
|
||||
// quadrant of image.
|
||||
Focus: gtsmodel.Focus{
|
||||
X: -0.5,
|
||||
Y: 0.5,
|
||||
},
|
||||
},
|
||||
AccountID: "01F8MH17FWEB39HZJ76B6VXSKF",
|
||||
Description: "Black and white image of some 50's style text saying: Welcome On Board",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue