Files
test/src
Kyle Geib 4bf471bd99 ISSUE-069 - FL wipe working. Big refactor of how the PositionFlag components work.
I flipped the way the wipe effect works. Originally there was the complicated problem of revealing a flag instantly and then wiping it away, requiring some delicate work with mounting and unmounting components. Instead it now works by always having a colored PositionFlag component in place and temporarily disappearing the normal PositionFlag (that is on top of it) using a transition-free opacity switch that lets the WipeTransition work reliably. This makes for fewer states and conditional renders.
Added textColor and bgColor props to the PositionFlag component for flexibility.
2022-03-14 08:49:14 -05:00
..