Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1156)

Unified Diff: resources/slides.lua

Issue 668023002: use - and = to zoom text in slides (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: resources/slides.lua
diff --git a/resources/slides.lua b/resources/slides.lua
index c74f47a049f3495047d143cfe7741df5bb56a64e..419e812cfd3b6393834120854b29ca95afb4a4d6 100644
--- a/resources/slides.lua
+++ b/resources/slides.lua
@@ -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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698