Zoom POST now returns camera state, rather than whole microscope state
This commit is contained in:
parent
0c5af96890
commit
1d1b501cbf
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class ZoomAPI(MicroscopeView):
|
||||||
|
|
||||||
self.microscope.camera.set_zoom(zoom_value)
|
self.microscope.camera.set_zoom(zoom_value)
|
||||||
|
|
||||||
return jsonify(self.microscope.state)
|
return jsonify(self.microscope.camera.state)
|
||||||
|
|
||||||
|
|
||||||
class OverlayAPI(MicroscopeView):
|
class OverlayAPI(MicroscopeView):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue