Feature/#94 auto resume after screenshot #101

Merged
Serraniel merged 4 commits from feature/#94-auto-resume-after-screenshot into develop 2020-10-28 19:25:08 +01:00
Showing only changes of commit 9ada3dbee6 - Show all commits

View file

@ -14,7 +14,10 @@ export function init() {
function observeScreenshotTooltip(tooltip) {
let observer = new MutationObserver(mutations => {
mutations.forEach(mutation => {
// Switched to invisible
if(!mutation.oldValue.includes('display: none') && mutation.target.style.display == 'none') {
console.log('SCREENSHOT TOOLTIP CLOSED');
}
});
});