mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed an issue with dynamic variables not working on the image effects.
This commit is contained in:
parent
74fd39f912
commit
71ce46442e
@ -136,7 +136,7 @@ void CMeterBar::ReadConfig(const WCHAR* section)
|
||||
|
||||
if (m_Initialized)
|
||||
{
|
||||
if (oldImageName != m_ImageName)
|
||||
if (oldImageName != m_ImageName || m_NeedsTinting || m_NeedsTransform)
|
||||
{
|
||||
Initialize(); // Reload the image
|
||||
}
|
||||
|
@ -113,8 +113,7 @@ void CMeterRotator::ReadConfig(const WCHAR* section)
|
||||
m_ValueRemainder = parser.ReadInt(section, L"ValueReminder", 0); // Typo
|
||||
m_ValueRemainder = parser.ReadInt(section, L"ValueRemainder", m_ValueRemainder);
|
||||
|
||||
if (m_Initialized &&
|
||||
oldImageName != m_ImageName)
|
||||
if (m_Initialized && oldImageName != m_ImageName || m_NeedsTinting || m_NeedsTransform)
|
||||
{
|
||||
Initialize(); // Reload the image
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user