tablet: added option to hide cursor (#12525)
This commit is contained in:
parent
6175ecd4c4
commit
315806f598
7 changed files with 25 additions and 4 deletions
|
|
@ -216,9 +216,11 @@ void CInputManager::onTabletProximity(CTablet::SProximityEvent e) {
|
|||
PTOOL->m_active = e.in;
|
||||
|
||||
if (!e.in) {
|
||||
m_lastInputTablet = false;
|
||||
if (PTOOL->getSurface())
|
||||
unfocusTool(PTOOL);
|
||||
} else {
|
||||
m_lastInputTablet = true;
|
||||
simulateMouseMovement();
|
||||
refocusTablet(PTAB, PTOOL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue