firebug / pixel-perfect

Other
55 stars 15 forks source link

Layer store object should be shared among popup panels #58

Open janodvarko opened 9 years ago

janodvarko commented 9 years ago

Every popup panel has currently its own instance of the Store object (PixelPerfectStore). This is wrong since adding/removing a layer in another tab (and another Pixel Perfect popup window) doesn't update other popup windows. All popup windows (from the same domain as soon as issue #40 is fixed) should be properly updated.

The store is currently initialized in PixelPerfectPopup ctor, it should be probably done in PixelPerfectToolboxOverlay.togglePixelPerfectPopup when the first PPP (pixel perfect popup) is opened for the first time.

Honza