{"action":"created","issue":{"url":"https://api.github.com/repos/ddwht/sketch-dynamic-button/issues/12","labels_url":"https://api.github.com/repos/ddwht/sketch-dynamic-button/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ddwht/sketch-dynamic-button/issues/12/comments","events_url":"https://api.github.com/repos/ddwht/sketch-dynamic-button/issues/12/events","html_url":"https://github.com/ddwht/sketch-dynamic-button/issues/12","id":60532144,"number":12,"title":"Doesn't work with other BG layer","user":{"login":"bobvanaubel","id":5420002,"avatar_url":"https://avatars.githubusercontent.com/u/5420002?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvanaubel","html_url":"https://github.com/bobvanaubel","followers_url":"https://api.github.com/users/bobvanaubel/followers","following_url":"https://api.github.com/users/bobvanaubel/following{/other_user}","gists_url":"https://api.github.com/users/bobvanaubel/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvanaubel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvanaubel/subscriptions","organizations_url":"https://api.github.com/users/bobvanaubel/orgs","repos_url":"https://api.github.com/users/bobvanaubel/repos","events_url":"https://api.github.com/users/bobvanaubel/events{/privacy}","received_events_url":"https://api.github.com/users/bobvanaubel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T16:55:53Z","updated_at":"2015-03-24T10:25:24Z","closed_at":null,"body":"I found an issue where the plugin doesn't work when you have another layer inside an artboard called 'BG'. When I selected the text and pressed 'CMD-J', it placed the text in the left top corner of my artboard with the original BG layer underneath it.\r\n\r\n![screen shot 2015-03-10 at 17 54 45](https://cloud.githubusercontent.com/assets/5420002/6580115/a7129212-c74e-11e4-8e1c-f99513e65690.png)\r\n\r\nIn my case it was a folder with a mask inside of it. Don't know if this also happens with other objects called 'BG'."},"comment":{"url":"https://api.github.com/repos/ddwht/sketch-dynamic-button/issues/comments/85441344","html_url":"https://github.com/ddwht/sketch-dynamic-button/issues/12#issuecomment-85441344","issue_url":"https://api.github.com/repos/ddwht/sketch-dynamic-button/issues/12","id":85441344,"user":{"login":"ddwht","id":4960281,"avatar_url":"https://avatars.githubusercontent.com/u/4960281?v=3","gravatar_id":"","url":"https://api.github.com/users/ddwht","html_url":"https://github.com/ddwht","followers_url":"https://api.github.com/users/ddwht/followers","following_url":"https://api.github.com/users/ddwht/following{/other_user}","gists_url":"https://api.github.com/users/ddwht/gists{/gist_id}","starred_url":"https://api.github.com/users/ddwht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddwht/subscriptions","organizations_url":"https://api.github.com/users/ddwht/orgs","repos_url":"https://api.github.com/users/ddwht/repos","events_url":"https://api.github.com/users/ddwht/events{/privacy}","received_events_url":"https://api.github.com/users/ddwht/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T10:25:24Z","updated_at":"2015-03-24T10:25:24Z","body":"Yes, plugin tries to found pair BG Layer and Text Layer with paddings. And after that it reads paddings and apply it on the BG. If you have own BG layer plugin applied paddings to it. "}}