fix screenshot

This commit is contained in:
Steffen 2020-04-26 22:36:39 +02:00
parent 339479b310
commit b37edc8b9e
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
1 changed files with 6 additions and 1 deletions

View File

@ -120,7 +120,6 @@ export default {
},
methods: {
takeScreenshot(dimensions = {}) {
this.isControlOpen = false;
this.isScreenshotSuccess = false;
this.isScreenshot = true;
this.$refs.screenshot.capture(dimensions, this.zoom);
@ -337,6 +336,11 @@ ul {
right: 3px;
top: 3px;
text-align: right;
#app.screenshot & {
display: none;
}
svg {
cursor: pointer;
&.success {
@ -349,6 +353,7 @@ ul {
position: absolute;
right: 50px;
top: 10px;
z-index: 5;
}
.menu {