mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Development on drawables. ValueTree fix.
This commit is contained in:
parent
c8b977a482
commit
fad682c1e1
5 changed files with 312 additions and 6 deletions
|
|
@ -616,7 +616,7 @@ ValueTree ValueTree::getSibling (const int delta) const
|
|||
return invalid;
|
||||
|
||||
const int index = object->parent->indexOf (*this) + delta;
|
||||
return ValueTree (static_cast <SharedObject*> (object->children [index]));
|
||||
return ValueTree (static_cast <SharedObject*> (object->parent->children [index]));
|
||||
}
|
||||
|
||||
const var& ValueTree::operator[] (const Identifier& name) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue