[ci] auto-format

This commit is contained in:
vishal332008 2025-01-23 20:45:05 +00:00 committed by github-actions[bot]
parent 5bb972dd34
commit 5e3013990b
14 changed files with 68 additions and 54 deletions

View file

@ -560,8 +560,8 @@ class CustomConfigNumberEdit:
if self._callback:
self._callback(self._value)
babase.app.config[self._configkey[0]][self._configkey[1]
][self._configkey[2]] = float(str(f'{self._value:.1f}'))
][self._configkey[2]] = float(str(f'{self._value: .1f}'))
babase.app.config.apply_and_commit()
def _update_display(self) -> None:
bui.textwidget(edit=self.valuetext, text=f'{self._value:.1f}')
bui.textwidget(edit=self.valuetext, text=f'{self._value: .1f}')