Skip to content

2.1.0

Compare
Choose a tag to compare
@aitsuki aitsuki released this 27 Nov 17:34
· 14 commits to master since this release
61d29ec

Fix #15 添加一个新的字段swipeFlags,可以更细化的控制菜单的可滑动方向,但是隐藏了原有的swipeEnable字段。如果在之前版本中使用swipeEnable字段来禁用菜单的滑动,迁移到当前版本需要修改下代码。

  • swipeEnable = true => swipeFlags = SwipeLayout.LEFT or SwipeLayout.RIGHT
  • swipeEnable = false => swipeFlags = 0

接下来可能需要添加START和END的flags以适配RTL