{"action":"created","issue":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/688","labels_url":"https://api.github.com/repos/paperjs/paper.js/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/paperjs/paper.js/issues/688/comments","events_url":"https://api.github.com/repos/paperjs/paper.js/issues/688/events","html_url":"https://github.com/paperjs/paper.js/issues/688","id":73355258,"number":688,"title":"Color.highlight cannot be set back to null or undefined","user":{"login":"iconexperience","id":2122773,"avatar_url":"https://avatars.githubusercontent.com/u/2122773?v=3","gravatar_id":"","url":"https://api.github.com/users/iconexperience","html_url":"https://github.com/iconexperience","followers_url":"https://api.github.com/users/iconexperience/followers","following_url":"https://api.github.com/users/iconexperience/following{/other_user}","gists_url":"https://api.github.com/users/iconexperience/gists{/gist_id}","starred_url":"https://api.github.com/users/iconexperience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iconexperience/subscriptions","organizations_url":"https://api.github.com/users/iconexperience/orgs","repos_url":"https://api.github.com/users/iconexperience/repos","events_url":"https://api.github.com/users/iconexperience/events{/privacy}","received_events_url":"https://api.github.com/users/iconexperience/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T16:02:38Z","updated_at":"2015-05-11T21:24:05Z","closed_at":null,"body":"Once the `highlight`property of a `Color` object has ben set to a non-null value, it cannot be set back to null.\r\n\r\nIn <a href=\"http://sketch.paperjs.org/#S/rVTBisIwFPyVRy6tbKm1sJeIJ9nrsuCx7SE2zzYYk5LGdUX8903c2oq6siwGesibec2bmZADUWyDhJLFGm1Zk4iUmvv9eAxvX2zTSJxQeNdQi6qW7rO5KoUpJcIMFO7gg9k6np8q4afAXVyismgimCTJaHomxysh5VxLbVzbIVfgVmUYF45MzwW/WqublkKWBXuUUu+CCJI4eS0iyIKlZOXaFSZFEQ0d/i9MUrBmiz/VY4dqIyqhKHQjNLoVVmjVoRxbKxTzlZ6y1FvF29h4nfOTjlwdnQatWu1gqaswJ9eK4t6aWU7gBX7HvR+5GpxNKSzQDtZGYGtUTskeWrRuumrAwGpQWymdKnBD4koo5Gd708dhxIzz8IRroWyYJolzdTS6yij9R0gG+fMSSv8QUXono47dW3XDdeNepnmtdgjI2+g8nt6P/G7LZeZ3Cd5gjhItPmI9/cgbOAt6PCic0P4SPf1o94gsDbJ1429bS2hWHL8B\">this Sketch</a> you can see that it is just impossible to get rid of the `highlight`property. Setting to null, deleting, nothing works.\r\n\r\nI am actually not sure why this is happening, but it must have something to do how Paper.js handles properties.\r\n\r\nCurrently the only way I know to get rid of the `highlight`property is to manually create a copy of the `Color`object without the `highlight`property.\r\n"},"comment":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/comments/101051654","html_url":"https://github.com/paperjs/paper.js/issues/688#issuecomment-101051654","issue_url":"https://api.github.com/repos/paperjs/paper.js/issues/688","id":101051654,"user":{"login":"lehni","id":213275,"avatar_url":"https://avatars.githubusercontent.com/u/213275?v=3","gravatar_id":"","url":"https://api.github.com/users/lehni","html_url":"https://github.com/lehni","followers_url":"https://api.github.com/users/lehni/followers","following_url":"https://api.github.com/users/lehni/following{/other_user}","gists_url":"https://api.github.com/users/lehni/gists{/gist_id}","starred_url":"https://api.github.com/users/lehni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lehni/subscriptions","organizations_url":"https://api.github.com/users/lehni/orgs","repos_url":"https://api.github.com/users/lehni/repos","events_url":"https://api.github.com/users/lehni/events{/privacy}","received_events_url":"https://api.github.com/users/lehni/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T21:24:05Z","updated_at":"2015-05-11T21:24:05Z","body":"Yes, those are not simple properties, they are accessors. It's a simple bug, fix coming up in 3..2..1.."}}