Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Font = Glyphs.font
- Glyphs.clearLog()
- currentGraphicView = Font.currentTab.graphicView()
- #thisActivePosition = currentGraphicView.activePosition() # This could be used to just the visibleRect
- thisVisibleRect = currentGraphicView.visibleRect()
- thisScale = currentGraphicView.scale()
- for eachTab in Font.tabs:
- thisGraphicView = eachTab.graphicView()
- if thisGraphicView == currentGraphicView:
- continue
- thisGraphicView.zoomViewToAbsoluteScale_(thisScale)
- thisGraphicView.scrollRectToVisible_(thisVisibleRect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement