Code review comment for lp:~allanlesage/unity8/dash-apps-visible-ordering

Revision history for this message
Leo Arias (elopio) wrote :

Also, I think this makes the sorting clearer. It sorts using y as the first key, and x as the second one.

sorted(result, key=lambda result: (result.globalRect.y, result.globalRect.x))

« Back to merge proposal