dont call clearclipboard in a loop

This commit is contained in:
Kyle Spearrin 2019-05-30 09:37:06 -04:00
parent 62e495a523
commit 270588fdbc
2 changed files with 4 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit cd46f64993545a1cb772e2f6a2137a675554f3c3
Subproject commit 38fc0432c3b352628b0114ac98b49ca69ee01675

View File

@ -178,7 +178,9 @@ export class AppComponent implements OnInit {
});
break;
case 'copiedToClipboard':
this.systemService.clearClipboard(message.clipboardValue, message.clearMs);
if (!message.clearing) {
this.systemService.clearClipboard(message.clipboardValue, message.clearMs);
}
break;
default:
}