Feature/#94 auto resume after screenshot #98
|
@ -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');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue