mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] Add comment
This commit is contained in:
committed by
EmilieNumworks
parent
33425e04c0
commit
5da82d8423
@@ -200,6 +200,8 @@ Event getPlatformEvent() {
|
||||
SDL_GetMouseState(&p.x, &p.y);
|
||||
Simulator::Layout::highlightKeyAt(&p);
|
||||
}
|
||||
/* On smarphones, don't forget to unhighlight the key when the finger is up.
|
||||
* (finger up doesn't imply a mouse motion!) */
|
||||
if (event.type == SDL_FINGERUP) {
|
||||
Simulator::Layout::unhighlightKey();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user