Remove TODO for previous commit.
This commit is contained in:
parent
7768db9081
commit
c77a23a032
|
@ -550,8 +550,6 @@ class PrefsEditor:
|
||||||
|
|
||||||
def on_darken_background_scale_change_value(self, widget, scroll, value):
|
def on_darken_background_scale_change_value(self, widget, scroll, value):
|
||||||
"""Background darkness setting changed"""
|
"""Background darkness setting changed"""
|
||||||
# FIXME: 'value' is a float with way too much precision. Round it off
|
|
||||||
# to 1 significant digit, e.g. 0.9 not 0.89989888413241345
|
|
||||||
self.config['background_darkness'] = round(value, 2)
|
self.config['background_darkness'] = round(value, 2)
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue