26b76b6
=== modified file 'terminatorlib/prefseditor.py'
26b76b6
--- terminatorlib/prefseditor.py	2013-02-16 00:10:45 +0000
26b76b6
+++ terminatorlib/prefseditor.py	2013-05-11 22:03:46 +0000
26b76b6
@@ -923,6 +923,8 @@
26b76b6
 
26b76b6
     def on_inactive_color_offset_change_value(self, widget, scroll, value):
26b76b6
         """Inactive color offset setting changed"""
26b76b6
+        if value > 1.0:
26b76b6
+          value = 1.0
26b76b6
         self.config['inactive_color_offset'] = round(value, 2)
26b76b6
         self.config.save()
26b76b6
 
26b76b6
26b76b6
=== modified file 'terminatorlib/terminal.py'
26b76b6
--- terminatorlib/terminal.py	2013-02-15 15:10:55 +0000
26b76b6
+++ terminatorlib/terminal.py	2013-05-11 22:03:46 +0000
26b76b6
@@ -621,11 +621,17 @@
26b76b6
 
26b76b6
         factor = self.config['inactive_color_offset']
26b76b6
         self.fgcolor_inactive = self.fgcolor_active.copy()
26b76b6
+        dbg(("fgcolor_inactive set to: RGB(%s,%s,%s)", getattr(self.fgcolor_inactive, "red"),
26b76b6
+                                                      getattr(self.fgcolor_inactive, "green"),
26b76b6
+                                                      getattr(self.fgcolor_inactive, "blue")))
26b76b6
 
26b76b6
         for bit in ['red', 'green', 'blue']:
26b76b6
             setattr(self.fgcolor_inactive, bit,
26b76b6
                     getattr(self.fgcolor_inactive, bit) * factor)
26b76b6
 
26b76b6
+        dbg(("fgcolor_inactive set to: RGB(%s,%s,%s)", getattr(self.fgcolor_inactive, "red"),
26b76b6
+                                                      getattr(self.fgcolor_inactive, "green"),
26b76b6
+                                                      getattr(self.fgcolor_inactive, "blue")))
26b76b6
         colors = self.config['palette'].split(':')
26b76b6
         self.palette_active = []
26b76b6
         self.palette_inactive = []
26b76b6