hs: add notes
This commit is contained in:
parent
b5fbdedfc7
commit
3b54b17d69
|
@ -81,6 +81,7 @@ function window:slide (direction, amount)
|
||||||
self:move(f)
|
self:move(f)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- TODO Multiple monitor support
|
||||||
function window:resizeIn (direction, amount)
|
function window:resizeIn (direction, amount)
|
||||||
local f = currentFrame()
|
local f = currentFrame()
|
||||||
local s = currentScreenFrame()
|
local s = currentScreenFrame()
|
||||||
|
@ -111,6 +112,7 @@ function window:resizeIn (direction, amount)
|
||||||
self:move(f)
|
self:move(f)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- TODO Improve multiple monitor support
|
||||||
function window:resizeOut (direction, amount)
|
function window:resizeOut (direction, amount)
|
||||||
local f = currentFrame()
|
local f = currentFrame()
|
||||||
local s = currentScreenFrame()
|
local s = currentScreenFrame()
|
||||||
|
@ -137,6 +139,7 @@ function window:resizeOut (direction, amount)
|
||||||
f.x = f.x - amount
|
f.x = f.x - amount
|
||||||
end
|
end
|
||||||
elseif direction == self.direction.right then
|
elseif direction == self.direction.right then
|
||||||
|
-- FIXME If on other monitor, extends past boundaries
|
||||||
if amount == true then
|
if amount == true then
|
||||||
f.w = s.w - f.x
|
f.w = s.w - f.x
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue