mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed an issue that UpdateDivider is ignored if DynamicVariables=1 is set.
This commit is contained in:
@@ -2443,6 +2443,7 @@ void CMeterWindow::Update(bool nodraw)
|
||||
|
||||
// Update the meters
|
||||
bool bActiveTransition = false;
|
||||
bool bUpdate = false;
|
||||
std::list<CMeter*>::const_iterator j = m_Meters.begin();
|
||||
for( ; j != m_Meters.end(); ++j)
|
||||
{
|
||||
@@ -2453,7 +2454,10 @@ void CMeterWindow::Update(bool nodraw)
|
||||
(*j)->ReadConfig((*j)->GetName());
|
||||
m_Parser.ClearStyleTemplate();
|
||||
}
|
||||
(*j)->Update();
|
||||
if ((*j)->Update())
|
||||
{
|
||||
bUpdate = true;
|
||||
}
|
||||
}
|
||||
catch (CError& error)
|
||||
{
|
||||
@@ -2480,7 +2484,7 @@ void CMeterWindow::Update(bool nodraw)
|
||||
}
|
||||
}
|
||||
|
||||
if (!nodraw)
|
||||
if (!nodraw && (m_Refreshing || bUpdate))
|
||||
{
|
||||
if (m_DynamicWindowSize)
|
||||
{
|
||||
|
Reference in New Issue
Block a user