mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 951024 - Provide haptic feedback on text selection. r=wesj
This commit is contained in:
parent
7f4bea3af5
commit
4cf21a7ea6
@ -124,6 +124,9 @@ class TextSelection extends Layer implements GeckoEventListener {
|
||||
if (mActionModeTimerTask != null)
|
||||
mActionModeTimerTask.cancel();
|
||||
showActionMode(message.getJSONArray("actions"));
|
||||
|
||||
if (handles.length() > 1)
|
||||
GeckoAppShell.performHapticFeedback(true);
|
||||
} else if (event.equals("TextSelection:Update")) {
|
||||
if (mActionModeTimerTask != null)
|
||||
mActionModeTimerTask.cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user