remove nav_frame info_text on scale enter/leave

This commit is contained in:
onyx-and-iris 2022-05-14 16:04:31 +01:00
parent 6fe73015ce
commit a7f23ef544

View File

@ -66,10 +66,10 @@ class GainLayer(ttk.LabelFrame):
_base_values.in_scale_button_1 = False _base_values.in_scale_button_1 = False
def scale_enter(self, *args): def scale_enter(self, *args):
self.parent.parent.nav_frame.info_text.set(round(self.gain.get(), 1)) pass
def scale_leave(self, *args): def scale_leave(self, *args):
self.parent.parent.nav_frame.info_text.set("") pass
def _on_mousewheel(self, event): def _on_mousewheel(self, event):
self.gain.set( self.gain.set(