mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update profile
This commit is contained in:
parent
d07936210e
commit
ee3c620d89
7 changed files with 15 additions and 24 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-toggle-button",
|
"name": "paper-toggle-button",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"description": "A material design toggle button control",
|
"description": "A material design toggle button control",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
@ -36,11 +36,11 @@
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"main": "paper-toggle-button.html",
|
"main": "paper-toggle-button.html",
|
||||||
"_release": "1.0.12",
|
"_release": "1.0.13",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.12",
|
"tag": "1.0.13",
|
||||||
"commit": "363fb16086662fea165668ffe10be233e02e0aa9"
|
"commit": "dbc3924b8d9c16ee6376704dd80c39d12aee72c8"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-toggle-button.git",
|
"_source": "git://github.com/PolymerElements/paper-toggle-button.git",
|
||||||
"_target": "~1.0.5",
|
"_target": "~1.0.5",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-toggle-button",
|
"name": "paper-toggle-button",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"description": "A material design toggle button control",
|
"description": "A material design toggle button control",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
|
|
@ -25,7 +25,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
|
|
||||||
<style is="custom-style" include="demo-pages-shared-styles">
|
<style is="custom-style" include="demo-pages-shared-styles">
|
||||||
.vertical-section-container {
|
.vertical-section-container {
|
||||||
max-width: 600px;
|
max-width: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
paper-toggle-button {
|
paper-toggle-button {
|
||||||
|
@ -44,18 +44,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
<paper-toggle-button disabled>Disabled</paper-toggle-button>
|
<paper-toggle-button disabled>Disabled</paper-toggle-button>
|
||||||
</template>
|
</template>
|
||||||
</demo-snippet>
|
</demo-snippet>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="vertical-section-container centered">
|
|
||||||
<h3>Toggle buttons can hide the ripple effect using the <i>noink</i> attribute</h3>
|
<h3>Toggle buttons can hide the ripple effect using the <i>noink</i> attribute</h3>
|
||||||
<demo-snippet class="centered-demo">
|
<demo-snippet class="centered-demo">
|
||||||
<template>
|
<template>
|
||||||
<paper-toggle-button noink>Toggle</paper-toggle-button>
|
<paper-toggle-button noink>Toggle</paper-toggle-button>
|
||||||
</template>
|
</template>
|
||||||
</demo-snippet>
|
</demo-snippet>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="vertical-section-container centered">
|
|
||||||
<h3>Toggle buttons can be styled using custom properties</h3>
|
<h3>Toggle buttons can be styled using custom properties</h3>
|
||||||
<demo-snippet class="centered-demo">
|
<demo-snippet class="centered-demo">
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -41,6 +41,7 @@ Custom property | Description | Default
|
||||||
`--paper-toggle-button-checked-bar` | Mixin applied to the slider when the input is checked | `{}`
|
`--paper-toggle-button-checked-bar` | Mixin applied to the slider when the input is checked | `{}`
|
||||||
`--paper-toggle-button-checked-button` | Mixin applied to the slider button when the input is checked | `{}`
|
`--paper-toggle-button-checked-button` | Mixin applied to the slider button when the input is checked | `{}`
|
||||||
`--paper-toggle-button-label-color` | Label color | `--primary-text-color`
|
`--paper-toggle-button-label-color` | Label color | `--primary-text-color`
|
||||||
|
`--paper-toggle-button-label-spacing` | Spacing between the label and the button | `8px`
|
||||||
|
|
||||||
@group Paper Elements
|
@group Paper Elements
|
||||||
@element paper-toggle-button
|
@element paper-toggle-button
|
||||||
|
@ -148,7 +149,7 @@ Custom property | Description | Default
|
||||||
top: -2px;
|
top: -2px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-left: 10px;
|
padding-left: var(--paper-toggle-button-label-spacing, 8px);
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
color: var(--paper-toggle-button-label-color, --primary-text-color);
|
color: var(--paper-toggle-button-label-color, --primary-text-color);
|
||||||
|
|
|
@ -741,7 +741,7 @@ prevent = dy > dx;
|
||||||
prevent = dx > dy;
|
prevent = dx > dy;
|
||||||
}
|
}
|
||||||
if (prevent) {
|
if (prevent) {
|
||||||
ev.preventDefault();
|
//ev.preventDefault();
|
||||||
} else {
|
} else {
|
||||||
Gestures.prevent('track');
|
Gestures.prevent('track');
|
||||||
}
|
}
|
||||||
|
|
|
@ -979,13 +979,9 @@
|
||||||
|
|
||||||
if (mediaSource.TranscodingSubProtocol == 'hls') {
|
if (mediaSource.TranscodingSubProtocol == 'hls') {
|
||||||
|
|
||||||
if (mediaSource.RunTimeTicks) {
|
|
||||||
// Reports of stuttering with h264 stream copy in IE
|
|
||||||
mediaUrl += '&EnableAutoStreamCopy=false';
|
|
||||||
}
|
|
||||||
|
|
||||||
mediaUrl += seekParam;
|
mediaUrl += seekParam;
|
||||||
contentType = 'application/x-mpegURL';
|
contentType = 'application/x-mpegURL';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Reports of stuttering with h264 stream copy in IE
|
// Reports of stuttering with h264 stream copy in IE
|
||||||
|
|
|
@ -368,11 +368,9 @@
|
||||||
isSupported: function () {
|
isSupported: function () {
|
||||||
|
|
||||||
if (AppInfo.isNativeApp) {
|
if (AppInfo.isNativeApp) {
|
||||||
// Crashes on some amazon devices
|
// TODO: Only return false for crosswalk
|
||||||
if (window.device && (device.platform || '').toLowerCase().indexOf('amazon') != -1) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return window.SpeechRecognition || window.webkitSpeechRecognition;
|
return window.SpeechRecognition || window.webkitSpeechRecognition;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue