{"action":"created","issue":{"url":"https://api.github.com/repos/JMRI/JMRI/issues/394","labels_url":"https://api.github.com/repos/JMRI/JMRI/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/JMRI/JMRI/issues/394/comments","events_url":"https://api.github.com/repos/JMRI/JMRI/issues/394/events","html_url":"https://github.com/JMRI/JMRI/pull/394","id":123583729,"number":394,"title":"Fix Blinking Sensor problem","user":{"login":"petecressman","id":14208129,"avatar_url":"https://avatars.githubusercontent.com/u/14208129?v=3","gravatar_id":"","url":"https://api.github.com/users/petecressman","html_url":"https://github.com/petecressman","followers_url":"https://api.github.com/users/petecressman/followers","following_url":"https://api.github.com/users/petecressman/following{/other_user}","gists_url":"https://api.github.com/users/petecressman/gists{/gist_id}","starred_url":"https://api.github.com/users/petecressman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petecressman/subscriptions","organizations_url":"https://api.github.com/users/petecressman/orgs","repos_url":"https://api.github.com/users/petecressman/repos","events_url":"https://api.github.com/users/petecressman/events{/privacy}","received_events_url":"https://api.github.com/users/petecressman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T01:06:38Z","updated_at":"2015-12-23T15:30:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JMRI/JMRI/pulls/394","html_url":"https://github.com/JMRI/JMRI/pull/394","diff_url":"https://github.com/JMRI/JMRI/pull/394.diff","patch_url":"https://github.com/JMRI/JMRI/pull/394.patch"},"body":"As long as the animated icon is not rotated, the animation will function.  Reset the rotation angle to 0 degrees to restore a broken blinking icon.  As far as I can tell, to make animated icons work after rotation, the gif file would need to be disassembled, the individual frame rotated and then reassemble the file.  Too much work for the time I have available.   All the previous decoration features for Sensors, Memories and Labels still work.  I hope this is satisfactory.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JMRI/JMRI/issues/comments/166924583","html_url":"https://github.com/JMRI/JMRI/pull/394#issuecomment-166924583","issue_url":"https://api.github.com/repos/JMRI/JMRI/issues/394","id":166924583,"user":{"login":"bobjacobsen","id":2774117,"avatar_url":"https://avatars.githubusercontent.com/u/2774117?v=3","gravatar_id":"","url":"https://api.github.com/users/bobjacobsen","html_url":"https://github.com/bobjacobsen","followers_url":"https://api.github.com/users/bobjacobsen/followers","following_url":"https://api.github.com/users/bobjacobsen/following{/other_user}","gists_url":"https://api.github.com/users/bobjacobsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bobjacobsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobjacobsen/subscriptions","organizations_url":"https://api.github.com/users/bobjacobsen/orgs","repos_url":"https://api.github.com/users/bobjacobsen/repos","events_url":"https://api.github.com/users/bobjacobsen/events{/privacy}","received_events_url":"https://api.github.com/users/bobjacobsen/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T15:30:52Z","updated_at":"2015-12-23T15:30:52Z","body":"There's a conflict between this patch and the current release-4.2 branch in java/src/jmri/jmrit/display/configurexml/PositionableLabelXml.java near line 394:\r\n\r\n````\r\n<<<<<<< HEAD\r\n        if (deg == 0 && util.hasBackground()) {\r\n            l.setOpaque(true);\r\n=======\r\n        l.rotate(deg);\r\n        if (deg == 0 && util.hasBackground()) {\r\n            l.setOpaque(true);                    \r\n>>>>>>> 25d19a6c120074f1cb892890b1f6f7bd9ea0c71a\r\n````\r\n\r\nthe l.rotate(deg); is a deliberate addition in the patch, but I don't (yet) see what it does. Looking..."}}