kickstart cursor differently so it doesnt draw a line
This commit is contained in:
@@ -327,12 +327,13 @@ public class Cursor {
|
|||||||
* Resets all cursor location data.
|
* Resets all cursor location data.
|
||||||
*/
|
*/
|
||||||
public void resetLocations() {
|
public void resetLocations() {
|
||||||
lastPosition = new Point(0, 0);
|
|
||||||
trail.clear();
|
trail.clear();
|
||||||
if (MusicController.getBeatmap() != null) {
|
if (lastPosition != null) {
|
||||||
setCursorPosition(-1000, -1000);
|
for (int i = 0; i < 50; i++) {
|
||||||
setCursorPosition(-50, -50);
|
trail.add(new Point(lastPosition));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
lastPosition = new Point(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user