DescriptionDon't use a magic value for 'auto' oriented <marker>s
The value -1 (degrees) is a valid angle, so using it to indicate that
'auto' orientation should be used does not work out.
Just check 'orientType' directly instead and simplify the angle getter.
BUG=606345
Committed: https://crrev.com/886546446df947816927a7757de45fab1646c919
Cr-Commit-Position: refs/heads/master@{#390029}
Patch Set 1 #
Messages
Total messages: 13 (5 generated)
|