fix not being able to remove transition
This commit is contained in:
parent
839ca7f8ba
commit
97213ec99a
|
@ -488,10 +488,10 @@ export const getFrontendStore = () => {
|
||||||
selected._styles = { normal: {}, hover: {}, active: {} }
|
selected._styles = { normal: {}, hover: {}, active: {} }
|
||||||
await store.actions.preview.saveSelected()
|
await store.actions.preview.saveSelected()
|
||||||
},
|
},
|
||||||
updateTransition: async (transition) => {
|
updateTransition: async transition => {
|
||||||
const selected = get(selectedComponent)
|
const selected = get(selectedComponent)
|
||||||
if (transition == null || transition === "") {
|
if (transition == null || transition === "") {
|
||||||
selected = ""
|
selected._transition = ""
|
||||||
} else {
|
} else {
|
||||||
selected._transition = transition
|
selected._transition = transition
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { fade, blur, slide, fly } from 'svelte/transition'
|
import { fade, blur, slide, fly } from "svelte/transition"
|
||||||
|
|
||||||
// Default options
|
// Default options
|
||||||
const transitions = new Map([
|
const transitions = new Map([
|
||||||
|
|
Loading…
Reference in New Issue