aboutsummaryrefslogtreecommitdiffstats
path: root/slider.lua
diff options
context:
space:
mode:
Diffstat (limited to 'slider.lua')
-rw-r--r--slider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/slider.lua b/slider.lua
index 1a0ef77..4700ae5 100644
--- a/slider.lua
+++ b/slider.lua
@@ -39,7 +39,7 @@ return function(w)
local fraction = (w.info.value - w.info.min) / (w.info.max - w.info.min)
local id = w.id or core.generateID()
- local pos, size = group.getRect(w.pos, w.info.size)
+ local pos, size = group.getRect(w.pos, w.size)
mouse.updateWidget(id, pos, size, w.widgetHit)
keyboard.makeCyclable(id)