mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
[FancyZones] Improve code quality (part 4) (#23638)
This commit is contained in:
@@ -28,8 +28,8 @@ void DraggingState::Enable()
|
||||
|
||||
void DraggingState::Disable()
|
||||
{
|
||||
bool leftShiftPressed = m_leftShiftKeyState.state();
|
||||
bool rightShiftPressed = m_rightShiftKeyState.state();
|
||||
const bool leftShiftPressed = m_leftShiftKeyState.state();
|
||||
const bool rightShiftPressed = m_rightShiftKeyState.state();
|
||||
|
||||
if (FancyZonesSettings::settings().shiftDrag)
|
||||
{
|
||||
@@ -80,4 +80,4 @@ bool DraggingState::IsDragging() const noexcept
|
||||
bool DraggingState::IsSelectManyZonesState() const noexcept
|
||||
{
|
||||
return m_ctrlKeyState.state();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user