Resolves #147 Flip trees upside down with flip

This commit is contained in:
Peter Cottle 2014-01-03 10:26:39 -08:00
parent 108937aad5
commit 937977f232
12 changed files with 61 additions and 35 deletions

View file

@ -5,11 +5,6 @@ var TIME = {
betweenCommandsDelay: 400
};
// useful for locks, etc
var GLOBAL = {
isAnimating: false
};
var VIEWPORT = {
minZoom: 0.55,
maxZoom: 1.25,
@ -53,7 +48,6 @@ var GRAPHICS = {
orphanNodeFill: 'hsb(0.5,0.8,0.7)'
};
exports.GLOBAL = GLOBAL;
exports.TIME = TIME;
exports.GRAPHICS = GRAPHICS;
exports.VIEWPORT = VIEWPORT;

View file

@ -0,0 +1,11 @@
/**
* Random grab bag of global state variables so we
* dont just straight up use window
*/
var GlobalState = {
flipTreeY: false,
isAnimating: false
};
module.exports = GlobalState;