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:
@ -313,8 +313,8 @@ bool CMeterButton::MouseMove(POINT pos)
|
||||
}
|
||||
else
|
||||
{
|
||||
// If the left button is not down anymore the cliked state needs to be set false
|
||||
if ((GetKeyState(VK_LBUTTON) & 0x8000) == 0)
|
||||
// If the left button is not down anymore the clicked state needs to be set false
|
||||
if (!(GetKeyState(VK_LBUTTON) < 0))
|
||||
{
|
||||
m_Clicked = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user