mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update profile
This commit is contained in:
parent
d07936210e
commit
ee3c620d89
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "paper-toggle-button",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.13",
|
||||
"description": "A material design toggle button control",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
@ -36,11 +36,11 @@
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"main": "paper-toggle-button.html",
|
||||
"_release": "1.0.12",
|
||||
"_release": "1.0.13",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.12",
|
||||
"commit": "363fb16086662fea165668ffe10be233e02e0aa9"
|
||||
"tag": "1.0.13",
|
||||
"commit": "dbc3924b8d9c16ee6376704dd80c39d12aee72c8"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-toggle-button.git",
|
||||
"_target": "~1.0.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "paper-toggle-button",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.13",
|
||||
"description": "A material design toggle button control",
|
||||
"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">
|
||||
.vertical-section-container {
|
||||
max-width: 600px;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
paper-toggle-button {
|
||||
@ -44,19 +44,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<paper-toggle-button disabled>Disabled</paper-toggle-button>
|
||||
</template>
|
||||
</demo-snippet>
|
||||
</div>
|
||||
|
||||
<div class="vertical-section-container centered">
|
||||
<h3>Toggle buttons can hide the ripple effect using the <i>noink</i> attribute</h3>
|
||||
<demo-snippet class="centered-demo">
|
||||
<template>
|
||||
<paper-toggle-button noink>Toggle</paper-toggle-button>
|
||||
</template>
|
||||
</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">
|
||||
<template>
|
||||
<style is="custom-style">
|
||||
|
@ -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-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-spacing` | Spacing between the label and the button | `8px`
|
||||
|
||||
@group Paper Elements
|
||||
@element paper-toggle-button
|
||||
@ -148,7 +149,7 @@ Custom property | Description | Default
|
||||
top: -2px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-left: 10px;
|
||||
padding-left: var(--paper-toggle-button-label-spacing, 8px);
|
||||
white-space: normal;
|
||||
pointer-events: none;
|
||||
color: var(--paper-toggle-button-label-color, --primary-text-color);
|
||||
|
@ -741,7 +741,7 @@ prevent = dy > dx;
|
||||
prevent = dx > dy;
|
||||
}
|
||||
if (prevent) {
|
||||
ev.preventDefault();
|
||||
//ev.preventDefault();
|
||||
} else {
|
||||
Gestures.prevent('track');
|
||||
}
|
||||
|
@ -360,7 +360,7 @@
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
profile.CodecProfiles.push({
|
||||
Type: 'VideoAudio',
|
||||
Conditions: [
|
||||
@ -979,13 +979,9 @@
|
||||
|
||||
if (mediaSource.TranscodingSubProtocol == 'hls') {
|
||||
|
||||
if (mediaSource.RunTimeTicks) {
|
||||
// Reports of stuttering with h264 stream copy in IE
|
||||
mediaUrl += '&EnableAutoStreamCopy=false';
|
||||
}
|
||||
|
||||
mediaUrl += seekParam;
|
||||
contentType = 'application/x-mpegURL';
|
||||
|
||||
} else {
|
||||
|
||||
// Reports of stuttering with h264 stream copy in IE
|
||||
@ -1603,7 +1599,7 @@
|
||||
};
|
||||
|
||||
function unBindAudioEvents(mediaRenderer) {
|
||||
|
||||
|
||||
Events.off(mediaRenderer, "volumechange", onVolumeChange);
|
||||
Events.off(mediaRenderer, "pause", onPause);
|
||||
Events.off(mediaRenderer, "playing", onPlaying);
|
||||
|
@ -368,10 +368,8 @@
|
||||
isSupported: function () {
|
||||
|
||||
if (AppInfo.isNativeApp) {
|
||||
// Crashes on some amazon devices
|
||||
if (window.device && (device.platform || '').toLowerCase().indexOf('amazon') != -1) {
|
||||
return false;
|
||||
}
|
||||
// TODO: Only return false for crosswalk
|
||||
return false;
|
||||
}
|
||||
|
||||
return window.SpeechRecognition || window.webkitSpeechRecognition;
|
||||
|
Loading…
Reference in New Issue
Block a user