Skip to content

Commit

Permalink
Merge pull request #33 from miroapp/update-appcast
Browse files Browse the repository at this point in the history
Fix for Version. 97
  • Loading branch information
inderjits1 authored Jun 6, 2023
2 parents c8d4509 + 91dd6d6 commit 96f5f81
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 7 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,14 @@ function Api() {
var originalId = context.command.valueForKey_onLayer_forPluginIdentifier("originalId", artboard, "rtb_sync");
var objectId = [artboard objectID];

var layer
if (artboard.respondsToSelector_(NSSelectorFromString("absoluteInfluenceRect"))) {
// Sketch < 96
layer = artboard.absoluteInfluenceRect();
} else {
layer = artboard.rect()
}

const document = [artboard documentData];
const immutable = [artboard immutableModelObject];

var relativeInfluenceRect = immutable.influenceRectForBoundsInDocument(document);
const layer = artboard.convertRect_toLayer_(relativeInfluenceRect, /* to absolute/page coordinates */null)
var xPos = layer.origin.x;
var yPos = layer.origin.y;
var width = layer.size.width;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var ErrorMessages = {
userDeleted: 'Your account is currently being deleted.',
userDeletedDesc: 'Until then, you cannot log in or create an account with this email.',
userLockout: 'Your account is locked due to multiple failed login attempts for 60 minutes. To unlock your account please wait or visit https://realtimeboard.com/email-unlock/',
contactUs: 'Please contact our support team at support@realtimeboard.com for further assistance.',
contactUs: 'Please contact our support team at support@miro.com for further assistance.',
passwordIncorrect: 'The username or password you entered is incorrect.',
defaultLockout: 'Your account is locked.'
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Miro",
"identifier" : "com.realtimeboard.sketch.plugin",
"version" : "1.6.7",
"version" : "1.7.0",
"description" : "Export and sync your artboards with Miro",
"authorEmail" : "[email protected]",
"author" : "Miro",
Expand Down
File renamed without changes.
18 changes: 18 additions & 0 deletions appcast.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<item>
<enclosure url="https://github.com/miroapp/sketch_plugin/releases/download/1.7.0/Miro.sketchplugin.zip" sparkle:version="1.7.0"/>
</item>
<item>
<enclosure url="https://github.com/miroapp/sketch_plugin/releases/download/1.6.7/RealtimeBoard.sketchplugin.zip" sparkle:version="1.6.7"/>
</item>
<item>
<enclosure url="https://github.com/miroapp/sketch_plugin/releases/download/1.6.6/RealtimeBoard.sketchplugin.zip" sparkle:version="1.6.6"/>
</item>
<item>
<enclosure url="https://github.com/miroapp/sketch_plugin/releases/download/1.6.5/RealtimeBoard.sketchplugin.zip" sparkle:version="1.6.5"/>
</item>
<item>
<enclosure url="https://github.com/miroapp/sketch_plugin/releases/download/1.6.4/RealtimeBoard.sketchplugin.zip" sparkle:version="1.6.4"/>
</item>
<item>
<enclosure url="https://github.com/miroapp/sketch_plugin/releases/download/1.6.3/RealtimeBoard.sketchplugin.zip" sparkle:version="1.6.3"/>
</item>
<item>
<enclosure url="https://github.com/miroapp/sketch_plugin/releases/download/1.6.2/RealtimeBoard.sketchplugin.zip" sparkle:version="1.6.2"/>
</item>
Expand Down

0 comments on commit 96f5f81

Please sign in to comment.