kickstart the cursor trail for every state
This commit is contained in:
parent
c1a07feee4
commit
f7ab8b2f01
|
@ -1541,10 +1541,6 @@ public class Game extends BasicGameState {
|
|||
}
|
||||
}
|
||||
|
||||
// kickstart cursor trail
|
||||
UI.getCursor().setCursorPosition(-10000, -10000);
|
||||
UI.getCursor().setCursorPosition(0, 0);
|
||||
|
||||
slidercurveFrom = 0;
|
||||
slidercurveTo = 0;
|
||||
|
||||
|
|
|
@ -328,6 +328,8 @@ public class Cursor {
|
|||
public void resetLocations() {
|
||||
lastPosition = new Point(0, 0);
|
||||
trail.clear();
|
||||
setCursorPosition(-1000, -1000);
|
||||
setCursorPosition(0, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user