mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Minor tweaks.
This commit is contained in:
@ -2759,10 +2759,11 @@ void CMeterWindow::Redraw()
|
||||
std::list<CMeter*>::const_iterator j = m_Meters.begin();
|
||||
for ( ; j != m_Meters.end(); ++j)
|
||||
{
|
||||
if (!(*j)->GetTransformationMatrix().IsIdentity())
|
||||
const Matrix* matrix = (*j)->GetTransformationMatrix();
|
||||
if (matrix && matrix->IsIdentity())
|
||||
{
|
||||
// Change the world matrix
|
||||
graphics.SetTransform(&((*j)->GetTransformationMatrix()));
|
||||
graphics.SetTransform(matrix);
|
||||
|
||||
(*j)->Draw(graphics);
|
||||
|
||||
|
Reference in New Issue
Block a user