mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Minor tweaks of "hand pointer".
This commit is contained in:
@ -2445,14 +2445,18 @@ LRESULT CMeterWindow::OnMouseMove(WPARAM wParam, LPARAM lParam)
|
||||
|
||||
if((*j)->HitTest(pos.x, pos.y) && (*j)->HasMouseActionCursor())
|
||||
{
|
||||
drawCursor = ((*j)->HasMouseAction() || button);
|
||||
drawCursor |= ((*j)->HasMouseAction() || button);
|
||||
}
|
||||
}
|
||||
|
||||
if(drawCursor)
|
||||
{
|
||||
SetCursor(LoadCursor(NULL, IDC_HAND));
|
||||
}
|
||||
else
|
||||
{
|
||||
SetCursor(LoadCursor(NULL, IDC_ARROW));
|
||||
}
|
||||
|
||||
if (redraw)
|
||||
{
|
||||
|
Reference in New Issue
Block a user