mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed line endings issue with 9375b50
This commit is contained in:
parent
c807d270b5
commit
2fc204c6fa
@ -63,7 +63,11 @@ void CMouse::ReadOptions(CConfigParser& parser, const WCHAR* section)
|
|||||||
m_MouseActions[MOUSE_OVER] = parser.ReadString(section, L"MouseOverAction", L"", false);
|
m_MouseActions[MOUSE_OVER] = parser.ReadString(section, L"MouseOverAction", L"", false);
|
||||||
m_MouseActions[MOUSE_LEAVE] = parser.ReadString(section, L"MouseLeaveAction", L"", false);
|
m_MouseActions[MOUSE_LEAVE] = parser.ReadString(section, L"MouseLeaveAction", L"", false);
|
||||||
|
|
||||||
if (HasScrollAction())
{
m_MeterWindow->SetHasMouseScrollAction();
}
|
if (HasScrollAction())
|
||||||
|
{
|
||||||
|
m_MeterWindow->SetHasMouseScrollAction();
|
||||||
|
}
|
||||||
|
|
||||||
const bool defaultState = (section == L"Rainmeter") ? true : m_MeterWindow->GetMouse().GetCursorState();
|
const bool defaultState = (section == L"Rainmeter") ? true : m_MeterWindow->GetMouse().GetCursorState();
|
||||||
m_CursorState = 0!=parser.ReadInt(section, L"MouseActionCursor", defaultState);
|
m_CursorState = 0!=parser.ReadInt(section, L"MouseActionCursor", defaultState);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user