Since screens can't show fractions of a pixel, the width and height elements on the IMG tag that is produced should be in whole numbers, not fractions, which can occur with the scaling choices. This patch introduces rounding to eliminate that.

CommentFileSizeAuthor
taximg_roundsize.txt1.13 KBnancydru

Comments

nancydru’s picture

Status: Active » Needs review
jeremy’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, thanks.

Bevan’s picture

nice

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Reviewed & tested by the community » Fixed

Fix committed.

nancydru’s picture

fix committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.