HomePhabricator

Canvas text: fix non-dirty paragraph width calculation

Authored by herdsman on Aug 29 2017, 3:05 AM.

Description

Canvas text: fix non-dirty paragraph width calculation

Follow-up fix for 1624417d9137b87826962e431d08dc591f83d5e5.
Changed for a max comparison, rather than just assigning the line's
width.
Also, added a test case.

Fixes T5939

@fix

Details

Committed
herdsmanAug 29 2017, 7:07 AM
Parents
rEFL4337e776697b: Fix PS3 backend removal (Cedric...)
Branches
Unknown
Tags
Unknown
Tasks
T5939: text ellipsizing unnecessarily