1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-07 23:00:54 +00:00
* Added: Option to display all emotes in the same tab of the emote menu. (Closes #684)
* Added: Button in the emote menu that opens the FFZ Control Center to `Chat > Emote Menu`.
* Changed: Start using Twitch for all emote information rather than the FFZ socket cluster.
* Fixed: When an emoji skin tone is set, use that skin tone for category icons if applicable.
* Fixed: When reduced padding for the emote menu is enabled, reduce the padding around the navigation buttons.
This commit is contained in:
SirStendec 2019-10-28 14:56:55 -04:00
parent a6ee3e5013
commit 742da82515
8 changed files with 396 additions and 247 deletions

View file

@ -1,5 +1,8 @@
'use strict';
import {make_enum} from 'utilities/object';
export const DEBUG = localStorage.ffzDebugMode === 'true' && document.body.classList.contains('ffz-dev');
export const SERVER = DEBUG ? '//localhost:8000' : 'https://cdn.frankerfacez.com';
@ -87,4 +90,20 @@ export const IS_WIN = navigator.platform ? navigator.platform.indexOf('Win') !==
export const IS_WEBKIT = navigator.userAgent.indexOf('AppleWebKit/') !== -1 && navigator.userAgent.indexOf('Edge/') === -1;
export const IS_FIREFOX = navigator.userAgent.indexOf('Firefox/') !== -1;
export const WEBKIT_CSS = IS_WEBKIT ? '-webkit-' : '';
export const WEBKIT_CSS = IS_WEBKIT ? '-webkit-' : '';
export const TWITCH_GLOBAL_SETS = [0, 33, 42];
export const TWITCH_POINTS_SETS = [300238151];
export const TWITCH_PRIME_SETS = [457, 793, 19151, 19194];
export const EmoteTypes = make_enum(
'Unknown',
'Prime',
'Turbo',
'LimitedTime',
'ChannelPoints',
'Unavailable',
'Subscription',
'Global'
);