refactor(VertexHandler): simplify management of `style.rotation` by tbouffard · Pull Request #634 · maxGraph/maxGraph
Always use the nullish coalescing (??) operator instead of the logical OR operator, and avoid extra conversion to number as the rotation property is always a number.
added
the
chore
label
Jan 12, 2025
tbouffard
deleted the
refactor/improve_VertexHandler_style.rotation
branch
Code refactoring
and removed chore
Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)labels
Jan 29, 2025This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters