Fix darkness of the background when transparent. Darkness has to be set as 1-darkness to be
compatible with gnome-terminal.
This commit is contained in:
parent
2f6f1472fb
commit
a9c2d6e410
@ -244,8 +244,8 @@ class TerminatorTerm:
|
||||
self._vte.set_background_transparent (False)
|
||||
if background_type == "transparent":
|
||||
self._vte.set_background_transparent (True)
|
||||
self._vte.set_background_saturation (self.gconf_client.get_float (self.profile + "/background_darkness") or self.defaults['background_darkness'])
|
||||
|
||||
self._vte.set_background_saturation (1 - (self.gconf_client.get_float (self.profile + "/background_darkness") or self.defaults['background_darkness']))
|
||||
|
||||
colors = palette.split (':')
|
||||
palette = []
|
||||
for color in colors:
|
||||
|
Loading…
Reference in New Issue
Block a user