Skip to content

Commit 2b60c1c

Browse files
committed
Updated elevationForState: default docs.
1 parent 53066fb commit 2b60c1c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/Buttons/src/MDCButton.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@
119119
*
120120
* The default values are particular to each subclass of MDCButton.
121121
* The default value for UIControlStateNormal is 0. The default value for UIControlStateSelected is
122-
* twice greater than the value of UIControlStateNormal. The default values for all other states is
123-
* the value of UIControlStateNormal.
122+
* twice greater than the value of UIControlStateNormal (which might have been set to value other
123+
* than zero by the caller). The default values for all other states is the value of
124+
* UIControlStateNormal.
124125
*
125126
* @param state The control state to retrieve the elevation.
126127
* @return The elevation for the requested state.

0 commit comments

Comments
 (0)