mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-30 04:11:32 -08:00
Make the stacked view play well with the new fluid-fixed mode
This commit is contained in:
parent
5528906a6b
commit
dc980a19c8
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue