Commit ed5fafb3 authored by Matias Guijarro's avatar Matias Guijarro Committed by Matias Guijarro
Browse files

axis: do not update pos if it is the same in apply_config

parent 23522d31
...@@ -2079,7 +2079,12 @@ class Axis: ...@@ -2079,7 +2079,12 @@ class Axis:
self.controller._init_settings(self) self.controller._init_settings(self)
# update position (needed for sign change) # update position (needed for sign change)
self.position = self.dial2user(self.dial) pos = self.dial2user(self.dial)
if self.position != pos:
try:
self.position = self.dial2user(self.dial)
except NotImplementedError:
pass
@lazy_init @lazy_init
def set_event_positions(self, positions): def set_event_positions(self, positions):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment