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