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

Unified Diff: resources/slides_transitions.lua

Issue 686853005: update slides (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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 | « resources/slides_content2.lua ('k') | resources/slides_utils.lua » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: resources/slides_transitions.lua
diff --git a/resources/slides_transitions.lua b/resources/slides_transitions.lua
index 4a838a4717d6abf598f122fbea4811969cb43749..bab38277678f27df552670f8ea05e04df72d54b3 100644
--- a/resources/slides_transitions.lua
+++ b/resources/slides_transitions.lua
@@ -39,7 +39,9 @@ function sqr(value) return value * value end
function set_blur(paint, alpha)
local sigma = sqr(1 - alpha) * 20
--- paint:setImageFilter(Sk.newBlurImageFilter(sigma, sigma))
+ if gUseBlurInTransitions then
+ paint:setImageFilter(Sk.newBlurImageFilter(sigma, sigma))
+ end
paint:setAlpha(alpha)
end
« no previous file with comments | « resources/slides_content2.lua ('k') | resources/slides_utils.lua » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698