use - and = to zoom text in slides
authorreed <reed@google.com>
Tue, 21 Oct 2014 17:46:01 +0000 (10:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Oct 2014 17:46:01 +0000 (10:46 -0700)
BUG=skia:
TBR=
NOTRY=True

Review URL: https://codereview.chromium.org/668023002

resources/slides.lua

index c74f47a..419e812 100644 (file)
@@ -412,8 +412,8 @@ local keyProcs = {
     p = prev_slide,
     r = spawn_rotate_animation,
     s = spawn_scale_animation,
-    u = function () scale_text_delta(gTemplate, 1) end,
-    d = function () scale_text_delta(gTemplate, -1) end,
+    ["="] = function () scale_text_delta(gTemplate, 1) end,
+    ["-"] = function () scale_text_delta(gTemplate, -1) end,
 }
 
 function onCharHandler(uni)