diff options
author | Robin Gareus <robin@gareus.org> | 2019-11-19 03:33:28 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-11-19 04:41:12 +0100 |
commit | cf8a808bd728fe979f95020320a4c163abf8a118 (patch) | |
tree | 4a29e32a65820cf8c539c5ee1b5aea1ba033d769 /scripts/select_every_2nd_region.lua | |
parent | 7aaf212a9bb51dec1f0823a3e653fbd0f62873d0 (diff) |
Fix some script icons for non-square buttons
Diffstat (limited to 'scripts/select_every_2nd_region.lua')
-rw-r--r-- | scripts/select_every_2nd_region.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/select_every_2nd_region.lua b/scripts/select_every_2nd_region.lua index b05efc1a46..30ad519483 100644 --- a/scripts/select_every_2nd_region.lua +++ b/scripts/select_every_2nd_region.lua @@ -43,6 +43,7 @@ end end function icon (params) return function (ctx, width, height, fg) local wh = math.min (width, height) * .5 + ctx:translate (math.floor (width * .5 - wh), math.floor (height * .5 - wh)) ctx:set_line_width (1) ctx:rectangle (wh * .25, wh * .75, wh * 1.5 , .5 * wh) |