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 |