Minor planet dialog fixes

This commit is contained in:
Anuken
2025-05-03 15:31:55 -04:00
parent 492fba05fd
commit 123c402d07
2 changed files with 7 additions and 4 deletions

View File

@@ -111,9 +111,9 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
//no multitouch drag
if(Core.input.getTouches() > 1) return;
if(showing()){
newPresets.clear();
}
if(showing() && newPresets.peek() != state.planet.getLastSector()) return;
newPresets.clear();
Vec3 pos = state.camPos;