Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3807)

Unified Diff: chrome/browser/resources/settings/a11y_page/manage_a11y_page.html

Issue 2783163002: Hide slider if large cursor is disabled (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
diff --git a/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html b/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
index c4d2e2d8b546def1989d57e6614cdc133bc20a1d..ee27c28bf6a0a7496712cb419477a33aaad57ddf 100644
--- a/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
+++ b/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
@@ -153,10 +153,10 @@
label="$i18n{largeMouseCursorLabel}">
</settings-toggle-button>
<template is="dom-if" if="[[enableAdjustableLargeCursor_]]">
- <div class="list-item sub-item">
+ <div class="list-item sub-item"
+ hidden$="[[!prefs.settings.a11y.large_cursor_enabled.value]]">
<div class="start">$i18n{largeMouseCursorSizeLabel}</div>
<settings-slider
- disabled$="[[!prefs.settings.a11y.large_cursor_enabled.value]]"
pref="{{prefs.settings.a11y.large_cursor_dip_size}}"
min="25" max="64" label-min="$i18n{largeMouseCursorSizeSmallLabel}"
label-max="$i18n{largeMouseCursorSizeLargeLabel}">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698