mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Removed the zoomin story viewer for the moment
This commit is contained in:
parent
cbb813da9b
commit
19d308dd9c
@ -1,30 +0,0 @@
|
||||
/*\
|
||||
title: $:/core/modules/macros/story/zoomin.js
|
||||
type: application/javascript
|
||||
module-type: storyview
|
||||
|
||||
A storyview that shows a single tiddler and navigates by zooming into links
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
function Zoomin(story) {
|
||||
this.story = story;
|
||||
var wrapper = this.story.children[0].domNode;
|
||||
wrapper.style.position = "relative";
|
||||
for(var t=0; t<wrapper.children.length; t++) {
|
||||
wrapper.children[t].style.position = "absolute";
|
||||
}
|
||||
}
|
||||
|
||||
Zoomin.prototype.tiddlerAdded = function(newTiddlerNode) {
|
||||
newTiddlerNode.domNode.style.position = "absolute";
|
||||
}
|
||||
|
||||
exports.zoomin = Zoomin;
|
||||
|
||||
})();
|
Loading…
Reference in New Issue
Block a user