Make every settings row reachable, and every accessibility switch honest
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -16,6 +16,17 @@ assert.equal(model.iconFor('volume', 0.9), 'audio-volume-high-symbolic')
|
||||
assert.equal(model.iconFor('microphone-muted', 0.7), 'microphone-sensitivity-muted-symbolic')
|
||||
assert.equal(model.iconFor('brightness', 0.4), 'display-brightness-symbolic')
|
||||
|
||||
// The magnifier's OSD, posted by Accessibility.stepZoom when a zoom keybind is
|
||||
// pressed. An unmapped kind falls through iconFor to the kind's own name, and
|
||||
// "zoom" is not an icon -- the OSD would draw the generic fallback glyph for
|
||||
// the one shortcut whose whole job is telling somebody who cannot read the
|
||||
// screen what the magnification now is.
|
||||
// An empty bar is 1.00 ×, which is off rather than "barely magnified", so it
|
||||
// gets the reset icon: the zoom-in glyph beside an empty bar would read as a
|
||||
// magnifier that had stopped working.
|
||||
assert.equal(model.iconFor('zoom', 0.4), 'zoom-in-symbolic')
|
||||
assert.equal(model.iconFor('zoom', 0), 'zoom-original-symbolic')
|
||||
|
||||
assert.deepEqual(
|
||||
model.progressState('volume', 140, 100, '', 900),
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user