Skip to content

Commit

Permalink
Fix for Sketch 48 change of currentView to contentDrawView.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Burns committed Dec 6, 2017
1 parent a16c0d9 commit 61d2e9e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ To find your plugins directory...

# Changelog

* **14.2** - Fix for Sketch 48 change of currentView to contentDrawView.
* **14.1** - Update to adjust the view after Symbol Organizer has been run.
* **14.0** - Added new Group Space feature and improved appearance of settings window. Improved sorting and grouping; group title case will now be ignored, and group titles which are numbers will now sort properly.
* **13.1** - Display Group Titles will now prefer to use "SFProText-Bold" by default, and if the font doesn't exist, will fall back to "SFUIText-Bold", or "HelveticaNeue-Bold". Remove Unused Symbols will now only remove symbols on current page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
]
},
"identifier" : "com.sonburn.sketchplugins.symbol-organizer",
"version" : "14.1",
"version" : "14.2",
"description" : "Organize your symbols page, and layer list, alphabetically and into groupings determined by your symbol names.",
"authorEmail" : "[email protected]",
"name" : "Symbol Organizer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ var symbolOrganizer = function(context,type) {
actionWithType(context,"MSCollapseAllGroupsAction").doPerformAction(nil);

// Adjust view
context.document.currentView().zoomToFitRect(page.contentBounds());
context.document.contentDrawView().zoomToFitRect(page.contentBounds());

// Feedback to user
if (layoutSettings.removeSymbols == 1 && removedSymbolCount > 0) {
Expand Down
6 changes: 3 additions & 3 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<description>Organize your symbols page, and layer list, alphabetically and into groupings determined by your symbol names.</description>
<language>en</language>
<item>
<title>Version 14.1</title>
<title>Version 14.2</title>
<description>
<![CDATA[
<ul>
<li>Update to adjust the view after Symbol Organizer has been run.</li>
<li>Fix for Sketch 48 change of currentView to contentDrawView.</li>
</ul>
]]>
</description>
<enclosure url="https://github.com/sonburn/symbol-organizer/archive/master.zip" sparkle:version="14.1" />
<enclosure url="https://github.com/sonburn/symbol-organizer/archive/master.zip" sparkle:version="14.2" />
</item>
</channel>
</rss>

0 comments on commit 61d2e9e

Please sign in to comment.