mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 13:58:40 +09:00
Issue #1619 - Nits Picked
This commit is contained in:
parent
217374ebf6
commit
f15f44b445
4 changed files with 8 additions and 8 deletions
|
|
@ -1529,9 +1529,9 @@ MainSizeFromAspectRatio(nscoord aCrossSize,
|
|||
{
|
||||
MOZ_ASSERT(aIntrinsicRatio,
|
||||
"Invalid ratio; will divide by 0! Caller should've checked...");
|
||||
AspectRatio ratio = aAxisTracker.IsMainAxisHorizontal()
|
||||
? aIntrinsicRatio
|
||||
: aIntrinsicRatio.Inverted();
|
||||
AspectRatio ratio = aAxisTracker.IsMainAxisHorizontal() ?
|
||||
aIntrinsicRatio :
|
||||
aIntrinsicRatio.Inverted();
|
||||
|
||||
return ratio.ApplyTo(aCrossSize);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue