Remove unused parameters

This commit is contained in:
Matthias Richter 2016-01-01 21:36:58 +01:00
parent 0af9460410
commit 0dfc45d0f8

View file

@ -4,7 +4,7 @@ local BASE = (...):match('(.-)[^%.]+$')
local core = require(BASE .. 'core')
return function(...)
local opt, x,y,w,h = core.getOptionsAndSize(...)
local opt, x,y = core.getOptionsAndSize(...)
opt.normal = opt.normal or opt[1]
opt.hot = opt.hot or opt[2] or opt.normal
opt.active = opt.active or opt[3] or opt.hot