diff options
-rw-r--r-- | plugins/scale.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/scale.lua b/plugins/scale.lua index 52ac73b..4fd82cc 100644 --- a/plugins/scale.lua +++ b/plugins/scale.lua @@ -47,8 +47,10 @@ local function set_scale(scale) end +local default = SCALE + command.add(nil, { - ["scale:reset" ] = function() set_scale(1) end, + ["scale:reset" ] = function() set_scale(default) end, ["scale:decrease"] = function() set_scale(SCALE * 0.9) end, ["scale:increase"] = function() set_scale(SCALE * 1.1) end, }) |