Simplify/Dedup STEP 5 Line 2271 - 2367 #395
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The code here contains lots of dublicate code, which could be greatly reduced. It switches only if its row or column. The code would be much more readable/maintainable if we calculate all of this named with cross/main-axis and only switch at the end to set either
childWidth
orchildHeight
.If you agree, I'd put up a PR for this.
create PR