mirror of
https://github.com/zhongyang219/MusicPlayer2.git
synced 2026-10-17 05:20:33 +08:00
修正ElementSwitcher在切换界面后没有恢复默认鼠标指针的问题
This commit is contained in:
@@ -28,6 +28,8 @@ bool UiElement::ElementSwitcher::LButtonUp(CPoint point)
|
||||
if (rect.PtInRect(point))
|
||||
{
|
||||
ui->SwitchStackElement(stack_element_id, stack_element_index);
|
||||
::SetCursor(::LoadCursor(NULL, IDC_ARROW));
|
||||
btn.hover = false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user