Respect fit-to-qrz if spots-over-grid is enabled.

merge-requests/31/head
Paul Traina 2020-11-12 18:17:34 -08:00
rodzic 5a18316401
commit 6915389c9b
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -5670,8 +5670,9 @@ function handleWsjtxStatus(newMessage) {
txrxdec.innerHTML = "RECEIVE";
}
if (newMessage.TxEnabled == 1 && g_spotsEnabled == 0) {
if (g_mapSettings.fitQRZ) {
if (newMessage.TxEnabled) {
if (g_mapSettings.fitQRZ &&
(!g_spotsEnabled || g_receptionSettings.mergeSpots)) {
if (g_lastMapView == null) {
g_lastMapView = {};
g_lastMapView.LoLa = g_mapView.getCenter();