From 11e705226bcca86e59e8b87a10331bb01cca9902 Mon Sep 17 00:00:00 2001 From: Joost Ellerbroek Date: Wed, 15 Jan 2025 11:48:16 +0100 Subject: [PATCH] Remove pan/zoom subscription --- bluesky/simulation/screenio.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/bluesky/simulation/screenio.py b/bluesky/simulation/screenio.py index 3e284fd54..a9d6dcb73 100644 --- a/bluesky/simulation/screenio.py +++ b/bluesky/simulation/screenio.py @@ -8,9 +8,7 @@ from bluesky.core import Entity from bluesky.tools import aero from bluesky.core.walltime import Timer -from bluesky.network.subscriber import subscriber from bluesky.network.publisher import state_publisher, StatePublisher -import bluesky.network.context as ctx # ========================================================================= @@ -40,9 +38,6 @@ def __init__(self): self.route_all = "" # Screen state overrides per client - self.client_pan = dict() - self.client_zoom = dict() - self.client_ar = dict() self.client_route = dict() # Dicts of custom aircraft and group colors @@ -116,13 +111,6 @@ def colour(self, name, r, g, b): elif name in bs.traf.id: self.custacclr[name] = (r, g, b) - @subscriber - def panzoom(self, pan, zoom, ar=1, absolute=True): - self.client_pan[ctx.sender_id] = pan - self.client_zoom[ctx.sender_id] = zoom - self.client_ar[ctx.sender_id] = ar - return True - # ========================================================================= # Slots # =========================================================================