some mcsr bs
This commit is contained in:
@@ -37,13 +37,8 @@ local function select_window(n)
|
||||
table.sort(
|
||||
windows,
|
||||
function (a, b)
|
||||
if a.at.x < b.at.x then
|
||||
return true
|
||||
end
|
||||
if a.at.x > b.at.x then
|
||||
return false
|
||||
end
|
||||
return a.at.y < b.at.y
|
||||
return ((a.at.x^2 + a.at.y^2) * 1)
|
||||
< ((b.at.x^2 + b.at.y^2) * 1)
|
||||
end
|
||||
)
|
||||
return windows[n]
|
||||
|
||||
Reference in New Issue
Block a user