Skip to content

Commit

Permalink
Chore: set Ratio to float64 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
xjasonlyu authored Nov 3, 2023
1 parent 6efb347 commit ac71d26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions constant/ratio.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package constant

// NOTE: primary/thumb/backdrop represents MEDIA picture ratios.
const (
PrimaryImageRatio = 2.0 / 3.0
ThumbImageRatio = 16.0 / 9.0
BackdropImageRatio = 0 // no cropping
PrimaryImageRatio float64 = 2.0 / 3.0
ThumbImageRatio float64 = 16.0 / 9.0
BackdropImageRatio float64 = 0 // no cropping
)

0 comments on commit ac71d26

Please sign in to comment.