1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-10-10 13:20:51 +00:00
* Added: Setting to hide the "LIVE" indicator on live channel pages.
* Added: Setting to invert portrait mode, placing chat at the top rather than the bottom.
* API Added: New icons to the default icon set: `user`, `clip`, `sort-down`, `sort-up`, `sort-alt-up`, `sort-alt-down`, and `language`.
* API Added: All Vue components now have access to a `getReactURL(route, ...)` method for building URLs.
* API Fixed: `<react-link />` will not attempt a React navigation if given a non-relative link.
* API Fixed: Issue with `getTagImmediate` throwing an exception when not given a callback function.
This commit is contained in:
SirStendec 2019-06-17 15:32:38 -04:00
parent 80148e5579
commit 3c00c0946e
19 changed files with 189 additions and 22 deletions

View file

@ -4,7 +4,7 @@
class="tw-aspect"
>
<div
:style="{paddingBottom: (100 * (1 / (props.ratio || 1))) + '%'}"
:style="{paddingBottom: (props.padding ? props.padding : (100 * (1 / (props.ratio || 1)))) + '%'}"
class="tw-aspect__spacer"
/>
<slot />

View file

@ -130,9 +130,13 @@ const FFZ_ICONS = [
'up-dir',
'up-big',
'play',
'user',
'clip',
'link-ext',
'twitter',
'github',
'sort-down',
'sort-up',
'gauge',
'download-cloud',
'upload-cloud',
@ -140,6 +144,9 @@ const FFZ_ICONS = [
'keyboard',
'calendar-empty',
'ellipsis-vert',
'sort-alt-up',
'sort-alt-down',
'language',
'twitch',
'bell-off',
'trash',

View file

@ -13,7 +13,7 @@ export default {
onClick(event) {
this.$emit('click', event);
if ( ! event.defaultPrevented )
if ( ! event.defaultPrevented && ! this.href.includes('//') )
this.reactNavigate(this.href, event);
}
}