mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Fixed for OpenGL, DropShadower, Linux midi, VST resizing + mouse wheel hooks.
This commit is contained in:
parent
06d2fe4887
commit
a9b1676028
16 changed files with 149 additions and 112 deletions
|
|
@ -340,12 +340,12 @@ void ValueTree::SharedObject::setProperty (const Identifier& name, const var& ne
|
|||
}
|
||||
else
|
||||
{
|
||||
var* const existingValue = properties.getVarPointer (name);
|
||||
const var* const existingValue = properties.getVarPointer (name);
|
||||
|
||||
if (existingValue != nullptr)
|
||||
{
|
||||
if (*existingValue != newValue)
|
||||
undoManager->perform (new SetPropertyAction (this, name, newValue, properties [name], false, false));
|
||||
undoManager->perform (new SetPropertyAction (this, name, newValue, *existingValue, false, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue