Skip to content

Commit

Permalink
fixed icon sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Cufee committed Jan 19, 2025
1 parent bbcbe4f commit 5dad6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/render/common/rating.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func GetRatingColors(rating float32) ratingColors {
}

func GetRatingIcon(rating frame.Value, size float64) (*facepaint.Block, bool) {
style := style.Style{Width: size, Height: 0}
style := style.Style{Width: size, Height: size}
if rating.Float() < 0 {
style.Color = TextAlt
}
Expand Down

0 comments on commit 5dad6df

Please sign in to comment.