mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-04 17:18:53 +00:00
Move the animation duration into a tiddler so that we can easily let it be adjusted in the control panel
This commit is contained in:
@@ -395,4 +395,11 @@ exports.extractVersionInfo = function() {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
Get the animation duration in ms
|
||||
*/
|
||||
exports.getAnimationDuration = function() {
|
||||
return parseInt($tw.wiki.getTiddlerText("$:/config/AnimationDuration","400"),10);
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user