diff options
| author | 2025-04-26 15:03:05 +0200 | |
|---|---|---|
| committer | 2025-04-26 15:03:05 +0200 | |
| commit | f7323c065a086533ce8c7f0f0cb3f69a80539992 (patch) | |
| tree | ba1451f4d1c1841bcc0867599673d9527c31f2bf /testrig | |
| parent | [performance] rewrite timelines to rely on new timeline cache type (#3941) (diff) | |
| download | gotosocial-f7323c065a086533ce8c7f0f0cb3f69a80539992.tar.xz | |
[feature] Update attachment format, receive + send `focalPoint` prop + use it on the frontend (#4052)
* [feature] Update attachment format, receive + send `focalPoint` prop + use it on the frontend
* whoops
* boop
* restore function signature of ExtractAttachments
Diffstat (limited to 'testrig')
| -rw-r--r-- | testrig/testmodels.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index dd74031c1..c059d4065 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -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", |
