Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ebc87e5 authored by Stephan Müller's avatar Stephan Müller
Browse files

Add "H" for `state_hovered` to `StateSet.dump`.

The dump function is helpful when debugging state representation issues with drawables (e.g. button backgrounds). Adding a letter for "hover" will allow it to be used when investigating issues with mouse hover.

Change-Id: I86e1f61a050fba10eef1bc625ee64721e3c8f376
parent 8cdf261e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -288,6 +288,9 @@ public class StateSet {
            case R.attr.state_activated:
                sb.append("A ");
                break;
            case R.attr.state_hovered:
                sb.append("H ");
                break;
            }
        }