1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 08:20:46 +00:00

Animate tiddler closures to the left

As @pmario points out, avoids nasty interactions with the sidebar
This commit is contained in:
Jeremy Ruston 2013-04-27 16:24:41 +01:00
parent 608175803b
commit 059a36b23d

View File

@ -87,7 +87,7 @@ ClassicListView.prototype.remove = function(index) {
{transition: $tw.utils.roundTripPropertyName("transform") + " " + $tw.config.preferences.animationDurationMs + " ease-in-out, " +
"opacity " + $tw.config.preferences.animationDurationMs + " ease-in-out, " +
"margin-bottom " + $tw.config.preferences.animationDurationMs + " ease-in-out"},
{transform: "translateX(" + currWidth + "px)"},
{transform: "translateX(-" + currWidth + "px)"},
{marginBottom: (-currHeight) + "px"},
{opacity: "0.0"}
]);