Refactor flippattern
Fix project
Show the frame of dragging FlipPattern