Draw outer frame per dimension ratio of touch device Previously, webplot draws the outer rectangle frame on the canvas as large as possible. In this patch, it draws the outer frame conforming to the dimension ratio of the touch device just like what the old mtplot did. BUG=chromium:443539 TEST=Manually test that webplot draws a gray outer rectangle on the canvas with the same dimension ratio of the device. Change-Id: Ie7dad244402f20262a9fec84b503b75422336f06 Reviewed-on: https://chromium-review.googlesource.com/239452 Reviewed-by: Charlie Mooney <charliemooney@chromium.org> Trybot-Ready: Shyh-In Hwang <josephsih@chromium.org> Tested-by: Shyh-In Hwang <josephsih@chromium.org> Commit-Queue: Shyh-In Hwang <josephsih@chromium.org> 
1 file changed
tree: 41f7275864fd4334479a32a214be6fd3466d4922
  1. remote/
  2. webplot
  3. webplot.html
  4. webplot.js
  5. webplot.py