Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iveney committed Jan 13, 2015
1 parent 87e030a commit 8a081eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ layouts['main-vertical'] = function(windows)
frame.x = frame.w / 2
frame.w = frame.w / 2
frame.h = frame.h / (wincount - 1)
frame.y = frame.h * (index - 2)
frame.y = frame.y + frame.h * (index - 2)
end

win:setframe(frame)
Expand All @@ -45,7 +45,7 @@ layouts['main-horizontal'] = function(windows)
frame.x, frame.y = 0, 0
frame.h = frame.h / 2
else
frame.y = frame.h / 2
frame.y = frame.y + frame.h / 2
frame.h = frame.h / 2
frame.w = frame.w / (wincount - 1)
frame.x = frame.w * (index - 2)
Expand Down

0 comments on commit 8a081eb

Please sign in to comment.