mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
There was a gentle mish-mash of booleans, some with true being left/right and some up/down, and some functions that can flip in both axes (which is never actually done, and doesn't really make geometric sense). Replace all this with the FLIP_DIRECTION enum class, which makes the intention completely unambiguous. This also then allows a small scattering of simplifications, because everything takes the same type and you don't have to fiddle booleans to fit.