| Index: third_party/polymer/v0_8/components/paper-behaviors/paper-radio-button-behavior.html
|
| diff --git a/third_party/polymer/v0_8/components/paper-behaviors/paper-radio-button-behavior.html b/third_party/polymer/v0_8/components/paper-behaviors/paper-radio-button-behavior.html
|
| index 4797534e328236d462e6033991e864d296e87039..f79d65db4c8610fc24be3cdd490f4cb755db3518 100644
|
| --- a/third_party/polymer/v0_8/components/paper-behaviors/paper-radio-button-behavior.html
|
| +++ b/third_party/polymer/v0_8/components/paper-behaviors/paper-radio-button-behavior.html
|
| @@ -13,29 +13,27 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
| <script>
|
|
|
| + /** @polymerBehavior */
|
| Polymer.PaperRadioButtonInk = {
|
|
|
| observers: [
|
| - `_focusedChanged(focused)`
|
| + '_focusedChanged(receivedFocusFromKeyboard)'
|
| ],
|
|
|
| - _focusedChanged: function(focused) {
|
| - if (!this.$.ink)
|
| + _focusedChanged: function(receivedFocusFromKeyboard) {
|
| + if (!this.$.ink) {
|
| return;
|
| -
|
| - if (focused) {
|
| - var rect = this.$.ink.getBoundingClientRect();
|
| - this.$.ink.mousedownAction();
|
| - } else {
|
| - this.$.ink.mouseupAction();
|
| }
|
| +
|
| + this.$.ink.holdDown = receivedFocusFromKeyboard;
|
| }
|
|
|
| };
|
|
|
| + /** @polymerBehavior */
|
| Polymer.PaperRadioButtonBehavior = [
|
| - Polymer.IronControlState,
|
| Polymer.IronButtonState,
|
| + Polymer.IronControlState,
|
| Polymer.PaperRadioButtonInk
|
| ];
|
|
|
|
|