fix preset

This commit is contained in:
FloatingGhost 2021-07-01 16:47:16 +01:00
parent d49434a799
commit 9cea1bc08c
3 changed files with 6 additions and 2 deletions

View file

@ -746,6 +746,9 @@ export default {
},
selected () {
this.dismissWarning()
if (Object.prototype.toString.call(this.selected) === '[object String]') {
this.selected = JSON.parse(this.selected)
}
if (this.selectedVersion === 1) {
if (!this.keepRoundness) {
this.clearRoundness()