Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acaa4a22 authored by Vladislav Kaznacheev's avatar Vladislav Kaznacheev
Browse files

Replace drag and drop mouse pointer shape

Use PointerIcon.STYLE_GRABBING (closed hand) instead of 
PointerIcon.STYLE_GRAB (open hand) while drag by mouse is in progress.

Bug:27946394
Change-Id: I56089b2c2cc5d1271df059832282725a886fc982
parent fd0bdc4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -589,7 +589,7 @@ class DragState {
    void overridePointerIconLw(int touchSource) {
        mTouchSource = touchSource;
        if (isFromSource(InputDevice.SOURCE_MOUSE)) {
            InputManager.getInstance().setPointerIconShape(PointerIcon.STYLE_GRAB);
            InputManager.getInstance().setPointerIconShape(PointerIcon.STYLE_GRABBING);
        }
    }
}