You've already forked AstralRinth
forked from didirus/AstralRinth
Lots of fixes - see trello (#347)
* A ton of fixes * Fix project deletion message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export default function (to, from, savedPosition) {
|
||||
if (to.name.startsWith('type-id') && !from.name.startsWith('type-id')) {
|
||||
return { x: 0, y: 0 }
|
||||
} else {
|
||||
if (to.name.startsWith('type-id') && from.name.startsWith('type-id')) {
|
||||
return savedPosition
|
||||
} else {
|
||||
return { x: 0, y: 0 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user