mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Make the stacked view play well with the new fluid-fixed mode
This commit is contained in:
parent
5528906a6b
commit
dc980a19c8
@ -47,6 +47,8 @@ StackedListView.prototype.placeTiddlers = function() {
|
|||||||
itemWidget = this.listWidget.children[t];
|
itemWidget = this.listWidget.children[t];
|
||||||
var domNode = itemWidget.findFirstDomNode();
|
var domNode = itemWidget.findFirstDomNode();
|
||||||
if(domNode instanceof Element) {
|
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
|
// Find the position of the tiddler in the stack
|
||||||
var pos = this.listStack.indexOf(itemWidget.parseTreeNode.itemTitle);
|
var pos = this.listStack.indexOf(itemWidget.parseTreeNode.itemTitle);
|
||||||
if(pos !== -1) {
|
if(pos !== -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user