Commit ded01480 authored by Romain Loth's avatar Romain Loth

better changeType

clarified changeType steps and conditions + added possibility to come back from 'both types active' state
parent ad7d31f1
......@@ -283,7 +283,7 @@ TW.conf = (function(TW){
// relative sizes (iff ChangeType == both nodetypes)
TWConf.sizeMult = [];
TWConf.sizeMult[0] = 4.0; // ie for node type 0
TWConf.sizeMult[0] = 3.0; // ie for node type 0
TWConf.sizeMult[1] = 1.0; // ie for node type 1
......
This diff is collapsed.
......@@ -36,8 +36,9 @@ TW.pushState = function( args ) {
// 3) apply all GUI effects
// change level depends on a selection
LevelButtonDisable( (newState.selectionNids.length == 0) );
// if global level, change level depends on a selection
// if local then it's always available to go back to global
LevelButtonDisable( newState.level && newState.selectionNids.length == 0 );
// recreate sliders after activetype or level changes
if (TW.conf.filterSliders
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment