Merge pull request #5549 from TheHX/fix-issue-4608
Fix TreeItem range editing by dragging on the inspector
This commit is contained in:
commit
66856a11d7
1 changed files with 1 additions and 1 deletions
|
@ -2279,7 +2279,7 @@ void Tree::_input_event(InputEvent p_event) {
|
|||
update();
|
||||
}
|
||||
|
||||
if (pressing_for_editor && popup_edited_item && popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE) {
|
||||
if (pressing_for_editor && popup_edited_item && (popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE || popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE_EXPRESSION)) {
|
||||
//range drag
|
||||
|
||||
if (!range_drag_enabled) {
|
||||
|
|
Loading…
Reference in a new issue