diff --git a/csdr/chain/dablin.py b/csdr/chain/dablin.py index 0effa6f9..f06faf13 100644 --- a/csdr/chain/dablin.py +++ b/csdr/chain/dablin.py @@ -25,7 +25,6 @@ class MetaProcessor(PickleModule): result = {} for key, value in data.items(): if key == "coarse_frequency_shift": - value = int(value) if value > 0: self.shift += random() * self.coarse_increment else: @@ -33,7 +32,6 @@ class MetaProcessor(PickleModule): logger.debug("coarse adjustment - new shift: %f", self.shift) self.shifter.setRate(self.shift) elif key == "fine_frequency_shift": - value = float(value) if abs(value) > 10: self.shift += self.fine_increment * value logger.debug("ffs: %f", value) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 38a06464..d25421b9 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -1391,6 +1391,8 @@ img.openwebrx-mirror-img .dab-container > * { margin: 2px 0; + text-align: center; + overflow: hidden auto; } .dab-container label { diff --git a/htdocs/lib/MetaPanel.js b/htdocs/lib/MetaPanel.js index 7acc4b42..236d8283 100644 --- a/htdocs/lib/MetaPanel.js +++ b/htdocs/lib/MetaPanel.js @@ -564,6 +564,7 @@ function DabMetaPanel(el) { '