skia2/tools/viewer
Yuqian Li 755778cda0 Update trans limit after zoom changes in viewer
Previously, the trans limit assumes that only touch gesture can
change the zoom level. That's not true on desktops so we need this
fix. Otherwise, we won't be able to translate when we zoomed in.

Bug: skia:
Change-Id: I5901600a0044639a47514ab76b7e1914f04137a2
Reviewed-on: https://skia-review.googlesource.com/116987
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
2018-03-28 20:51:44 +00:00
..
BisectSlide.cpp BUILD: build when !skia_use_expat 2018-03-22 20:28:45 +00:00
BisectSlide.h Resurrect pathfinder in viewer and rename to "bisect" 2018-02-20 20:44:33 +00:00
GMSlide.cpp Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
GMSlide.h Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
ImageSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
ImageSlide.h Simplify viewer's handling of backbuffer surface and color space 2017-02-08 17:34:05 +00:00
ImGuiLayer.cpp Move ImGui support code to ImGuiLayer 2017-12-11 17:37:58 +00:00
ImGuiLayer.h Move ImGui support code to ImGuiLayer 2017-12-11 17:37:58 +00:00
SampleSlide.cpp Fix sample modifier keys for mouse events 2017-12-05 14:05:31 +00:00
SampleSlide.h Add sample mouse support to Viewer 2017-11-02 14:25:21 +00:00
SkottieSlide.cpp [skottie] Nested animation support 2018-02-23 19:15:26 +00:00
SkottieSlide.h [skottie] Nested animation support 2018-02-23 19:15:26 +00:00
SKPSlide.cpp SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SKPSlide.h Add samples to Viewer. 2016-06-16 09:52:35 -07:00
Slide.h Add sample mouse support to Viewer 2017-11-02 14:25:21 +00:00
SlideDir.cpp [skottie] Show inval rects on mouse click in SkottieSlide 2018-02-20 22:12:43 +00:00
SlideDir.h SlideDir focus w/ animation 2018-02-19 18:43:44 +00:00
StatsLayer.cpp Move stats code to new layer (with configurable list of timers) 2017-12-20 16:59:04 +00:00
StatsLayer.h Move stats code to new layer (with configurable list of timers) 2017-12-20 16:59:04 +00:00
Viewer.cpp Update trans limit after zoom changes in viewer 2018-03-28 20:51:44 +00:00
Viewer.h Update trans limit after zoom changes in viewer 2018-03-28 20:51:44 +00:00