not happening

change name - wompchat
overlay attempt was made. turns out cant link obs to chrome extension web page. added greenscreen option instead. best i can do until chat bot is made. need a web page hosted that can be manipulated and can be linked into obs.
some other unrelated fixes - minor bugs
added escape key for popup
expanded pupup window to full width of chat
This commit is contained in:
wompmacho
2020-11-13 05:16:24 -05:00
parent fb13e2f056
commit 1826dce523
15 changed files with 59648 additions and 14509 deletions

View File

@@ -113,16 +113,20 @@ PersistentSyncStorage.on('ready', () => {
input.addEventListener('change', inputOnChange);
switch (input.id) {
case 'enableBTTVEmotes':
input.removeAttribute('disabled');
break;
if(PersistentSyncStorage.data.options.allowTextSlider == true){
textSizeSlider.disabled = false;
}else{
textSizeSlider.disabled = true;
}
case 'enableFrankerEmotes':
input.removeAttribute('disabled');
break;
case 'enableTwitchEmotes':
input.removeAttribute('disabled');
break;
case 'kappaFix':
input.removeAttribute('disabled');
break;
case 'theaterModeFix':
@@ -156,10 +160,6 @@ PersistentSyncStorage.on('ready', () => {
case 'setLiveChat' :
input.removeAttribute('disabled');
break;
case 'allowTextSlider' :
//
break;
case 'allowTextSlider':
input.removeAttribute('disabled');
@@ -170,6 +170,10 @@ PersistentSyncStorage.on('ready', () => {
}
break;
case 'setGreenScreen':
input.removeAttribute('disabled');
break;
default:
// shouldn't get hete if handled
break;
@@ -182,7 +186,7 @@ infoButton.addEventListener('click', function(){
chrome.tabs.create({ url: 'https://wompmacho.com/wompchat' });
});
var chat_overlay = document.getElementById('chat_overlay');
chat_overlay.addEventListener('click', function(){
chrome.tabs.create({ url: 'html/chat_overlay.html' });
});
// var chat_overlay = document.getElementById('chat_overlay');
// chat_overlay.addEventListener('click', function(){
// chrome.tabs.create({ url: 'html/chat_overlay.html' });
// });