1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-12-30 02:31:20 +01:00

fix(config label): reset offset when toggling the label action

This commit is contained in:
2025-07-17 14:36:04 +02:00
committed by Jan Wyzula
parent 23674ccf59
commit b8ae7b2e96

View File

@@ -567,6 +567,8 @@ class Heatmap(ImageBase):
if not self._image_config.show_config_label:
self.config_label.setVisible(False)
return
self.config_label.setOffset((-30, 1))
self.config_label.setVisible(True)
self.config_label.clear()
self.config_label.addItem(self.plot_item, f"Scan: {scan_msg.scan_number}")