1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +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"}
]);