diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-02-26 10:08:17 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-02-26 10:08:17 -0300 |
commit | ed6d9463d264d0983f75c2dc93191c8526e9115b (patch) | |
tree | 3518ba92d9e4fa5b5d36e7272faa3faa01f908c7 /scene/gui | |
parent | b2ce682f6ed9493423be257a5b2e87126692a94f (diff) |
-Added ATITC texture support
-Fixed bug of some tabs showing wrong names
-Exported properties for viewport
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 9be3c97901..fb85f0c6b7 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -1591,7 +1591,7 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_ case TreeItem::CELL_MODE_CUSTOM: { edited_item=p_item; edited_col=col; - custom_popup_rect=Rect2i(get_global_pos() + Point2i(col_ofs,_get_title_button_height()+y_ofs+item_h-v_scroll->get_val()), Size2(get_column_width(col),item_h)); + custom_popup_rect=Rect2i(get_global_pos() + Point2i(col_ofs,_get_title_button_height()+y_ofs+item_h-cache.offset.y), Size2(get_column_width(col),item_h)); emit_signal("custom_popup_edited",((bool)(x >= (col_width-item_h/2)))); bring_up_editor=false; |