Skip to content
Commit 85a7e840 authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Fix settings gear visibility

When the settings gear is first initialized the width can be reported as
0, which lead to NaN in the `map` function and throwing off the other
calculations. This adds a check to the width so it will simply be set
invisible in that case instead

Fixes: 185929062
Test: manual (repro steps in bug)

Change-Id: Id2a8582e8342d807825536bfcaac7d79a042c7cc
parent f1c4d4e1
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