My General plugin has submenu in View menu for grouping all the plugin settings, like Menu > View > My Plugin Name > settings items here. If I import Reporter from General (as part of a bundle), Reporter name appears separately in View menu. Anyway to hide the reporter name from menu naturally so I can create the custom toggler for reporter inside my submenu? Or somehow move its entry from View menu to my submenu? And what’s the best practice for such a cases?
If you don’t like the reporter to show up, don’t make a reports. Any other plugin can register for drawing callbacks. So if the drawing really depends on the other plugin and you don’t like people to be able to enable it from the default place, just let the “main” plugin d the drawing.
I need a cosmetic drawing on foreground (not on selected layer) to highlight some paths. The foreground method seems to only work in Reporter?
No. There should be a callback for this.
1 Like
Thanks, found.
Glyphs.addCallback(self.drawOnForeground, DRAWFOREGROUND)
Glyphs.removeCallback(self.drawOnForeground, DRAWFOREGROUND)