diff --git a/plugins/tiddlywiki/cecily/cecily.js b/plugins/tiddlywiki/cecily/cecily.js index 84c331182..37a30f371 100644 --- a/plugins/tiddlywiki/cecily/cecily.js +++ b/plugins/tiddlywiki/cecily/cecily.js @@ -84,7 +84,8 @@ Load the current map CecilyStoryView.prototype.loadMap = function() { this.map = this.listWidget.wiki.getTiddlerData(this.getMapTiddlerTitle(),{ positions: {}, - newTiddlerPosition: {x: 0, y: 0} + newTiddlerPosition: {x: 0, y: 0}, + width: 600 }); }; @@ -99,6 +100,7 @@ CecilyStoryView.prototype.positionTiddler = function(title,domNode) { var pos = this.lookupTiddlerInMap(title,domNode), scale = pos.w/domNode.offsetWidth; $tw.utils.setStyle(domNode,[ + {width: this.map.width + "px"}, {transformOrigin: "0% 0%"}, {transform: "translateX(" + pos.x + "px) translateY(" + pos.y + "px) scale(" + scale + ")"} ]);