This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will block this actor and hide all of their past and future posts. Are you certain you want to block this actor?
This action will block this object. Are you certain you want to block this object?
Are you sure you want to delete the OAuth client [Client Name]? This action cannot be undone and will revoke all access tokens for this client.
Are you sure you want to revoke the OAuth token [Token ID]? This action cannot be undone and will immediately revoke access for this token.

I ended up with a solution that exaggerates the focal point offset from center to try to get more of the image around the focal point inside the container:
def normalized_focal_point
return nil unless has_focal_point?
x, y = focal_point.not_nil!
norm_x = x / 2 + 0.5 # normalized x = x / 2 + 0.5
norm_y = -y / 2 + 0.5 # normalized y = -y / 2 + 0.5 (y inverted)
# push the focal point toward the edges so that more of the focused image is in view
{
exaggerate(norm_x),
exaggerate(norm_y)
}
end
private def exaggerate(value, strength = 0.75)
centered = value - 0.5
exaggerated = centered.sign * (centered.abs ** strength)
(exaggerated + 0.5).clamp(0.0, 1.0)
endReading up on object-position and its use for focal point support in Mastodon and looking at examples in practice it doesn’t seem like the existing implemented approach works well (link). I'm open to better ways to do this, and I welcome course correction if I'm heading in the wrong direction.