Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Fixed processing of margin-right
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Bazarov committed May 6, 2020
1 parent e4287ae commit 076c743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PuzzleTokens.sketchplugin/Contents/Sketch/classes/DSApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,7 @@ class DSApp {
x = parseInt(marginLeft.replace('px', ""))
}
if (null != marginRight) {
y = parentFrame.width - (parseInt(marginRight.replace('px', "")) + l.frame.width)
x = parentFrame.width - (parseInt(marginRight.replace('px', "")) + l.frame.width)
}
if (null != height) {
l.frame.height = parseInt(height.replace('px', ""))
Expand Down

0 comments on commit 076c743

Please sign in to comment.