Skip to content

Commit 1cc7ae0

Browse files
committed
Replace absoluteRect() with frame() which returns the exact same value for artboards
absoluteRect() has been unavailable since Sketch 97
1 parent d28949f commit 1cc7ae0

File tree

1 file changed

+1
-1
lines changed
  • PDF Export.sketchplugin/Contents/Sketch

1 file changed

+1
-1
lines changed

PDF Export.sketchplugin/Contents/Sketch/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function exportArtboards(artboards, outputName) {
192192
newExportFormat.name = ''
193193
newExportFormat.format = 'png'
194194

195-
var rect = artboard.absoluteRect().rect()
195+
var rect = artboard.frame().rect()
196196

197197

198198
if (sketchVersionNumber() < 790) {

0 commit comments

Comments
 (0)