Skip to content

Commit

Permalink
1.7.6
Browse files Browse the repository at this point in the history
This update fixes a few bugs and improves compatibility with the latest
version of Sketch, 45.1. See Releases for more info.
  • Loading branch information
matt-curtis committed Jul 3, 2017
2 parents d79d0b6 + ec35302 commit aec3256
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.7.4</string>
<string>1.7.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ extern NSString *const MCSPluginNotificationDocumentWindowKey;
+ (NSAlert*) alertWithTitle:(NSString*)title information:(NSString*)information;


- (void) applicationDidBecomeActive;


- (void) allDocumentsDidClose;

- (void) currentDocumentDidChange:(NSNotification*)notification;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@

- (MSLayer*) addLayerOfType:(NSString*)type;

- (BOOL) resizeRoot:(BOOL)recursive;
- (BOOL) resizeToFitChildrenWithOption:(long long)arg1;

@end

Expand Down Expand Up @@ -279,12 +279,6 @@

@property (nonatomic, copy) NSAttributedString *attributedStringValue;

- (NSTextStorage*) createTextStorage;

- (NSTextContainer*) createTextContainer;

- (NSLayoutManager*) createLayoutManager;

@end

#define MSShapeGroup_Class GetClass(@"MSShapeGroup")
Expand Down
Binary file not shown.
12 changes: 12 additions & 0 deletions Fluid.sketchplugin/Contents/Sketch/commands.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
@import "main.js"

// -------
// ACTIONS
// -------

function selectionDidChange(ctx){
getPluginController(ctx).currentSelectionDidChange();
};

function artboardDidChange(ctx){
getPluginController(ctx).currentDocumentDidChange();
};

// --------
// COMMANDS
// --------
Expand Down
15 changes: 14 additions & 1 deletion Fluid.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,27 @@
"description": "Auto Layout-like constraints in Sketch",
"author": "Matt Curtis",
"homepage": "https://github.com/matt-curtis/Fluid-for-Sketch",
"version": "1.7.4",
"version": "1.7.6",

"identifier": "com.matt-curtis.sketch.constraints",
"updateURL": "https://raw.githubusercontent.com/matt-curtis/Fluid-for-Sketch/master/Fluid.sketchplugin/Contents/Sketch/manifest.json",
"appcast": "https://api.sketchpacks.com/v1/plugins/com.matt-curtis.sketch.constraints/appcast",

"compatibleVersion": 3,
"bundleVersion": 1,

"commands": [
{
"name": "Actions",
"script": "dynamicCommands.js",
"handlers" : {
"actions": {
"SelectionChanged.finish": "selectionDidChange",
"ArtboardChanged.finish": "artboardDidChange"
}
}
},

{
"name": "Show/Hide Toolbar",
"identifier": "command_toggleToolbarVisiblity",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# :droplet: Fluid for Sketch 1.7.5
# :droplet: Fluid for Sketch 1.7.6

> *A collaborative project brought to you by [Matt Curtis](https://twitter.com/matt_sven) & [Cat Noone](https://twitter.com/imcatnoone)*
Fluid is a Sketch plugin that provides a means to create more constraint-based, responsive designs. It is based on Auto Layout constraints.

:package: [Download Plugin (.zip)](https://github.com/matt-curtis/Fluid-for-Sketch/releases/download/v1.7.5/Fluid.sketchplugin.zip) | :star: [Changelog](https://github.com/matt-curtis/Fluid-for-Sketch/releases) | :arrow_down: [Download the Demo Sketch Document](https://github.com/matt-curtis/Fluid-for-Sketch/raw/master/Constraint%20Demos.sketch)
:package: [Download Plugin (.zip)](https://github.com/matt-curtis/Fluid-for-Sketch/releases/download/v1.7.6/Fluid.sketchplugin.zip) | :star: [Changelog](https://github.com/matt-curtis/Fluid-for-Sketch/releases) | :arrow_down: [Download the Demo Sketch Document](https://github.com/matt-curtis/Fluid-for-Sketch/raw/master/Constraint%20Demos.sketch)
--- | --- | ---

---
Expand All @@ -15,7 +15,7 @@ Fluid is a Sketch plugin that provides a means to create more constraint-based,

### Using Sketchpacks

[![Install PLUGIN NAME with Sketchpacks](http://sketchpacks-com.s3.amazonaws.com/assets/badges/sketchpacks-badge-install.png "Install PLUGIN NAME with Sketchpacks")](https://sketchpacks.com/matt-curtis/fluid-for-sketch/install)
[![Install Fluid for Sketch with Sketchpacks](http://sketchpacks-com.s3.amazonaws.com/assets/badges/sketchpacks-badge-install.png "Install Fluid for Sketch with Sketchpacks")](https://sketchpacks.com/matt-curtis/fluid-for-sketch/install)

### Using Sketch Runner

Expand Down

0 comments on commit aec3256

Please sign in to comment.