summaryrefslogtreecommitdiff
path: root/scripts/bounce_replace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bounce_replace.lua')
-rw-r--r--scripts/bounce_replace.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bounce_replace.lua b/scripts/bounce_replace.lua
index 838fd8da64..775ec27d2b 100644
--- a/scripts/bounce_replace.lua
+++ b/scripts/bounce_replace.lua
@@ -75,6 +75,7 @@ function icon (params) return function (ctx, width, height, fg)
ctx:fill ()
end
+ ctx:translate (math.floor (width * .5 - wh), math.floor (height * .5 - wh))
ctx:rectangle (wh - wh * .6, wh - .7 * wh, wh * 1.2, .5 * wh)
stroke_outline (.7)