diff --git a/src/injected-content/mixrelixr.js b/src/injected-content/mixrelixr.js index cf39f81d..f6603e7a 100644 --- a/src/injected-content/mixrelixr.js +++ b/src/injected-content/mixrelixr.js @@ -932,7 +932,7 @@ $(() => { theaterBtn.find('i').text('event_seat'); // change tooltip text - theaterBtn.find('span').text('MixrElixr: Theater Mode'); + theaterBtn.find('span').text('MixrElixr: Theater Mode [Ctrl + Alt + T]'); // add click handler theaterBtn.on('click', function() { @@ -1048,7 +1048,7 @@ $(() => { heading: 'Theater Mode Enabled', showHideTransition: 'fade', allowToastClose: true, - hideAfter: 3000, + hideAfter: 3250, stack: false, position: 'top-center', bgColor: '#151C29', @@ -2222,6 +2222,13 @@ $(() => { } }); + // Ctrl + Alt + T theater toggle listener + $(document).keyup(evt => { + if (evt.ctrlKey && evt.altKey && evt.code === 'KeyT') { + toggleTheaterMode(); + } + }); + function mapEmoteSizeToClass(size) { switch (size) { case 24: