Skip to content

Commit

Permalink
Merge pull request #17 from TiZ-EX1/master
Browse files Browse the repository at this point in the history
Disable the slider for numeric values on the tree view.
  • Loading branch information
okamstudio committed Feb 13, 2014
2 parents 337d98a + 555d376 commit 6ac0316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_
} else {

editor_text=String::num( p_item->cells[col].val, Math::decimals( p_item->cells[col].step ) );
bring_up_value_editor=true;
bring_up_value_editor=false;
if (select_mode==SELECT_MULTI && get_scene()->get_last_event_id() == focus_in_id)
bring_up_editor=false;

Expand Down

0 comments on commit 6ac0316

Please sign in to comment.