1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-22 21:33:14 +00:00

Make the stacked view play well with the new fluid-fixed mode

This commit is contained in:
Jermolene 2015-05-05 07:24:14 +01:00
parent 5528906a6b
commit dc980a19c8

View File

@ -47,6 +47,8 @@ StackedListView.prototype.placeTiddlers = function() {
itemWidget = this.listWidget.children[t];
var domNode = itemWidget.findFirstDomNode();
if(domNode instanceof Element) {
// Allows the width of the tiddler to be adjusted
$tw.utils.addClass(domNode,"tc-storyview-zoomin-tiddler");
// Find the position of the tiddler in the stack
var pos = this.listStack.indexOf(itemWidget.parseTreeNode.itemTitle);
if(pos !== -1) {