floating
Parameters
- self:*Branch
- *Branch
Source
Implementation
pub fn floating(self: *Branch) bool {
// if drag_point is non-null, id_reorderable is non-null
if (self.tree.drag_point != null and self.tree.id_branch.? == (self.init_options.branch_id orelse self.data().id.asUsize()) and !self.tree.drag_ending) {
return true;
}
return false;
}