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:
		| @@ -136,7 +136,7 @@ void CMeterBar::ReadConfig(const WCHAR* section) | |||||||
|  |  | ||||||
| 	if (m_Initialized) | 	if (m_Initialized) | ||||||
| 	{ | 	{ | ||||||
| 		if (oldImageName != m_ImageName) | 		if (oldImageName != m_ImageName || m_NeedsTinting || m_NeedsTransform) | ||||||
| 		{ | 		{ | ||||||
| 			Initialize();  // Reload the image | 			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"ValueReminder", 0);		// Typo | ||||||
| 	m_ValueRemainder = parser.ReadInt(section, L"ValueRemainder", m_ValueRemainder); | 	m_ValueRemainder = parser.ReadInt(section, L"ValueRemainder", m_ValueRemainder); | ||||||
|  |  | ||||||
| 	if (m_Initialized && | 	if (m_Initialized && oldImageName != m_ImageName || m_NeedsTinting || m_NeedsTransform) | ||||||
| 		oldImageName != m_ImageName) |  | ||||||
| 	{ | 	{ | ||||||
| 		Initialize();  // Reload the image | 		Initialize();  // Reload the image | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 mapeki
					mapeki