skia /
skia /
bbba9b478ea267781f50e7927d5800e629928671 [viewer] Avoid modifying ImgGui when it's locked
When checking the backing scale factor checkbox, I would get asserts
crashing viewer on debug builds. When just adjusting whether or not to
apply the backing scale factor to the slide contents, we don't need to
reset ImgGui at all, so split it out into a function that is separate
from changes to the native window scale factor.
Change-Id: I31b7c4fc8d411b8af1abdb39e007ad86756e7138
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/962777
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2 files changed