mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Code cleanup.
This commit is contained in:
parent
a32ca014f7
commit
2e173b69d7
@ -247,7 +247,7 @@ int CMeterWindow::Initialize(CRainmeter& Rainmeter)
|
||||
// Gotta have some kind of buffer during initialization
|
||||
m_DoubleBuffer = new Bitmap(1, 1, PixelFormat32bppARGB);
|
||||
|
||||
Refresh(true);
|
||||
Refresh(true, true);
|
||||
if (!m_WindowStartHidden)
|
||||
{
|
||||
if (m_WindowHide == HIDEMODE_FADEOUT)
|
||||
@ -401,9 +401,9 @@ void CMeterWindow::Refresh(bool init, bool all)
|
||||
|
||||
UpdateTransparency(m_AlphaValue, true);
|
||||
|
||||
if (init || all || oldZPos != m_WindowZPosition)
|
||||
if (all || oldZPos != m_WindowZPosition)
|
||||
{
|
||||
ChangeZPos(m_WindowZPosition, init || all);
|
||||
ChangeZPos(m_WindowZPosition, all);
|
||||
}
|
||||
|
||||
m_Rainmeter->SetCurrentParser(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user