Fix inconsistent height and width in opacity mode

The _height and _width fields are not reliably set by Gerrit. Rather
than relying on them for dimension computation, compute them manually.

Change-Id: I6b987a0846c175814f9386ce91f9075b64473f67
3 files changed
tree: 4603e20f52b1c7dc10c17c6338cea2c837b636da
  1. gr-image-diff-tool/
  2. gr-opacity-diff-mode/
  3. gr-resemble-diff-mode/
  4. test/
  5. .gitignore
  6. BUILD
  7. package.json
  8. plugin.html
  9. README.md
  10. yarn.lock
README.md

Image Diff

A plugin that uses ResembleJS to provide a rich image diffing experience in PolyGerrit. Uses yarn for package management.

Run yarn install to get started.

Testing

This plugin uses polymer-cli to test.