mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-04 15:27:30 +07:00
Fixed issue with resetting cursor on mobile
This commit is contained in:
@ -139,8 +139,12 @@ public class Cursor implements ItemData.LocationListener {
|
||||
page = -1;
|
||||
|
||||
offset.setZero();
|
||||
cursorAnim.edit().layer(protate).build();
|
||||
cursorAnim.setFrameDuration(CURSOR_FRAME_DURATION);
|
||||
if (protate == null) {
|
||||
cursorAnim.reset();
|
||||
} else {
|
||||
cursorAnim.edit().layer(protate).build();
|
||||
cursorAnim.setFrameDuration(CURSOR_FRAME_DURATION);
|
||||
}
|
||||
}
|
||||
|
||||
public Item getItem() {
|
||||
|
Reference in New Issue
Block a user