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,7 +244,7 @@ class TerminatorTerm:
|
||||||
self._vte.set_background_transparent (False)
|
self._vte.set_background_transparent (False)
|
||||||
if background_type == "transparent":
|
if background_type == "transparent":
|
||||||
self._vte.set_background_transparent (True)
|
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 (':')
|
colors = palette.split (':')
|
||||||
palette = []
|
palette = []
|
||||||
|
|
Loading…
Reference in New Issue