Feature/#94 auto resume after screenshot #98

Closed
Serraniel wants to merge 10 commits from feature/#94-auto-resume-after-screenshot into develop
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');
}
});
});