mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Removed MeasureName requirement for RoundLines. This removes the need for a "dummy" measure when drawing generic circles.
This commit is contained in:
parent
1613fd76e2
commit
929d8149d0
@ -86,8 +86,14 @@ void CMeterRoundLine::ReadOptions(CConfigParser& parser, const WCHAR* section)
|
||||
*/
|
||||
bool CMeterRoundLine::Update()
|
||||
{
|
||||
if (CMeter::Update() && !m_Measures.empty())
|
||||
if (CMeter::Update())
|
||||
{
|
||||
if (m_Measures.empty())
|
||||
{
|
||||
m_Value = 1.0;
|
||||
return true;
|
||||
}
|
||||
|
||||
CMeasure* measure = m_Measures[0];
|
||||
if (m_ValueRemainder > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user