aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-19 17:42:10 +0200
committervaxerski <[email protected]>2022-08-19 17:42:10 +0200
commit946222f4a7f1cb4a5fb4e28613025ad652982812 (patch)
tree1a0e240c6e896d07a0b0bfe1a9f03d03223c142f
parent504d07a87dd439767b5a87cd93b43fac47ca3f79 (diff)
downloadHyprland-946222f4a7f1cb4a5fb4e28613025ad652982812.tar.gz
Hyprland-946222f4a7f1cb4a5fb4e28613025ad652982812.zip
fix typo in swipe alpha control
-rw-r--r--src/managers/input/Swipe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/input/Swipe.cpp b/src/managers/input/Swipe.cpp
index 807d0bcc..51be5248 100644
--- a/src/managers/input/Swipe.cpp
+++ b/src/managers/input/Swipe.cpp
@@ -149,7 +149,7 @@ void CInputManager::onSwipeUpdate(wlr_pointer_swipe_update_event* e) {
const auto PWORKSPACER = g_pCompositor->getWorkspaceByID(workspaceIDRight);
PWORKSPACER->m_bForceRendering = false;
- PWORKSPACE->m_fAlpha.setValueAndWarp(0.f);
+ PWORKSPACER->m_fAlpha.setValueAndWarp(0.f);
}
PWORKSPACE->m_vRenderOffset.setValueAndWarp(Vector2D(((- m_sActiveSwipe.delta) / *PSWIPEDIST) * m_sActiveSwipe.pMonitor->vecSize.x - m_sActiveSwipe.pMonitor->vecSize.x, 0));
@@ -171,7 +171,7 @@ void CInputManager::onSwipeUpdate(wlr_pointer_swipe_update_event* e) {
const auto PWORKSPACEL = g_pCompositor->getWorkspaceByID(workspaceIDLeft);
PWORKSPACEL->m_bForceRendering = false;
- PWORKSPACE->m_fAlpha.setValueAndWarp(0.f);
+ PWORKSPACEL->m_fAlpha.setValueAndWarp(0.f);
}
PWORKSPACE->m_vRenderOffset.setValueAndWarp(Vector2D(((- m_sActiveSwipe.delta) / *PSWIPEDIST) * m_sActiveSwipe.pMonitor->vecSize.x + m_sActiveSwipe.pMonitor->vecSize.x, 0));