input: lock focus for tablet when down (#11219)

This commit is contained in:
Shelby Tucker 2025-07-27 09:11:45 -04:00 committed by GitHub
parent 211199e864
commit 5d4b4ecbfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,7 +135,8 @@ void CInputManager::onTabletAxis(CTablet::SAxisEvent e) {
}
m_lastInputTouch = false;
simulateMouseMovement();
if (!PTOOL->m_isDown)
simulateMouseMovement();
refocusTablet(PTAB, PTOOL, true);
m_lastCursorMovement.reset();
}