|
@@ -189,11 +189,11 @@ class tk_event():
|
|
b["bg"] = "green"
|
|
b["bg"] = "green"
|
|
b.config(activebackground="lightgreen")
|
|
b.config(activebackground="lightgreen")
|
|
elif event.num == 2:
|
|
elif event.num == 2:
|
|
- if "DELAY" in self.attr:
|
|
|
|
- v = ct.val()
|
|
|
|
- ct.val(v*-1)
|
|
|
|
- else:
|
|
|
|
- ct.reset()
|
|
|
|
|
|
+ #if "DELAY" in self.attr:
|
|
|
|
+ v = ct.val()
|
|
|
|
+ ct.val(v*-1) # invert
|
|
|
|
+ elif event.num == 3:
|
|
|
|
+ ct.reset()
|
|
elif event.num == 4:
|
|
elif event.num == 4:
|
|
ct.inc()
|
|
ct.inc()
|
|
elif event.num == 5:
|
|
elif event.num == 5:
|
|
@@ -205,7 +205,7 @@ class tk_event():
|
|
if self.attr == "FADE":
|
|
if self.attr == "FADE":
|
|
b["text"] = "FADE:\n{:0.2f}".format(value)
|
|
b["text"] = "FADE:\n{:0.2f}".format(value)
|
|
elif self.attr == "DELAY":
|
|
elif self.attr == "DELAY":
|
|
- b["text"] = "DELAY:\n{:0.3f}".format(value)
|
|
|
|
|
|
+ b["text"] = "DELAY:\n{:0.2f}".format(value)
|
|
elif "PAN/TILT\nFADE" in self.attr:
|
|
elif "PAN/TILT\nFADE" in self.attr:
|
|
b["text"] = "PAN/TILT\nFADE:{:0.2f}".format(value)
|
|
b["text"] = "PAN/TILT\nFADE:{:0.2f}".format(value)
|
|
elif "PAN/TILT\nDELAY" in self.attr:
|
|
elif "PAN/TILT\nDELAY" in self.attr:
|