Skip to content
Commit ae5b7002 authored by Evan Laird's avatar Evan Laird
Browse files

Fix RTL mobile signal drawing out of bounds in QS Edit

For some reason, the canvas is twice the size of the drawable's bounds,
and our RTL code was taking the whole canvas, shifting by its own width
and reversing the x-coords. When the canvas is too wide, it causes the
signal to draw outside of the bounds. To fix it, just shift the
coordinates by the width of the drawable itself. I.e., reverse in the
drawable's own bounds.

Note that there is still an issue where sometimes a non-reversed signal
drawable is used. This doesn't fix that.

Change-Id: I6cfda0ab6b9f50c969410dd4f89499b66854ebbe
Fixes: 63164522
Test: visual
parent 5c5f1f64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment