forked from linkong/planet
first commit
This commit is contained in:
commit
e7033775d8
20657 files changed
+1988940
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
export function getMotion(mode, motion, defaultMotions) {
|
||||
if (motion) {
|
||||
return motion;
|
||||
}
|
||||
if (defaultMotions) {
|
||||
return defaultMotions[mode] || defaultMotions.other;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Reference in new issue
Block a user