aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-02-21 13:03:41 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-21 18:25:26 +0000
commit83286a0df2a6ab1c83644bd3cba242b9741b43be (patch)
tree4d9aaa096096653f212a600386648c2b83f87e13 /tools/viewer
parent0a7aa14bf36cbb444b84902a37591d7a9c84fbd0 (diff)
Don't consume mouse events in SkottieSlide
We want to togle inval display on click, but if we always consume the event we disable pan/zoom in viewer. TBR= Change-Id: I1f785883252c4f4a09fd35d4a05485849bf7e8ef Reviewed-on: https://skia-review.googlesource.com/109084 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'tools/viewer')
-rw-r--r--tools/viewer/SkottieSlide.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/viewer/SkottieSlide.cpp b/tools/viewer/SkottieSlide.cpp
index a364bb1099..aef28e1efc 100644
--- a/tools/viewer/SkottieSlide.cpp
+++ b/tools/viewer/SkottieSlide.cpp
@@ -88,5 +88,5 @@ bool SkottieSlide::onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState st
break;
}
- return true;
+ return false;
}