Save overlay data after resetting position
Due to flaw in logic, the save event in mouseReleased was never triggered when overlay position was reset. It is not possible anymore to go through the logic again/not worth and so save the overlay data immediately. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -377,6 +377,8 @@ public class OverlayRenderer extends MouseListener implements KeyListener
|
||||
{
|
||||
overlay.setPreferredLocation(null);
|
||||
overlay.setPreferredPosition(null);
|
||||
saveOverlayPosition(overlay);
|
||||
saveOverlayLocation(overlay);
|
||||
rebuildOverlayLayers();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user