Removed map from mapEffects type

This commit is contained in:
Dennis Postma 2025-02-05 03:04:33 +01:00
parent f14d9baaa1
commit 14474f7665
2 changed files with 1 additions and 3 deletions

View File

@ -79,7 +79,6 @@ export type Map = {
export type MapEffect = { export type MapEffect = {
id: string id: string
map: Map
effect: string effect: string
strength: number strength: number
} }

View File

@ -84,8 +84,7 @@ watch(
const addEffect = () => { const addEffect = () => {
mapEffects.value.push({ mapEffects.value.push({
id: uuidv4() as UUID, // Simple unique id generation id: uuidv4(),
map: mapEditor.currentMap.value!,
effect: '', effect: '',
strength: 1 strength: 1
}) })