{"action":"created","comment":{"url":"https://api.github.com/repos/gameclosure/timestep/pulls/comments/126286252","pull_request_review_id":48760336,"id":126286252,"diff_hunk":"@@ -838,15 +846,42 @@ export default class BitmapFontTextViewBacking {\n     return baseline * fontSizeScale;\n   }\n \n-  get text() {\n-    return this._text;\n+  set autoSize(value) {\n+    if (this._autoSize !== value) {\n+      this._autoSize = value;\n+\n+      this.invalidate();\n+    }\n+  }\n+\n+  get autoSize() {\n+    return this._autoSize;\n   }\n \n   set text(value) {\n     value = '' + value;\n-    if (this._text === value) { return; }\n-    this._text = value;\n-    this.invalidate();\n+\n+    if (this._text !== value) {\n+      this._text = value;\n+      this._listener._opts.size = this._baseSize;\n+\n+      this.invalidate();\n+\n+      if (this._autoSize && this._baseSize && this._listener._opts.font) {","path":"src/ui/bitmapFont/BitmapFontTextViewBacking.js","position":67,"original_position":67,"commit_id":"589e613defbc87c4f9950cb63ae1e1283cc2fd9d","original_commit_id":"589e613defbc87c4f9950cb63ae1e1283cc2fd9d","user":{"login":"yofreke","id":536581,"avatar_url":"https://avatars0.githubusercontent.com/u/536581?v=3","gravatar_id":"","url":"https://api.github.com/users/yofreke","html_url":"https://github.com/yofreke","followers_url":"https://api.github.com/users/yofreke/followers","following_url":"https://api.github.com/users/yofreke/following{/other_user}","gists_url":"https://api.github.com/users/yofreke/gists{/gist_id}","starred_url":"https://api.github.com/users/yofreke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yofreke/subscriptions","organizations_url":"https://api.github.com/users/yofreke/orgs","repos_url":"https://api.github.com/users/yofreke/repos","events_url":"https://api.github.com/users/yofreke/events{/privacy}","received_events_url":"https://api.github.com/users/yofreke/received_events","type":"User","site_admin":false},"body":"Why check listener.opts.font?","created_at":"2017-07-08T17:11:24Z","updated_at":"2017-07-08T17:21:57Z","html_url":"https://github.com/gameclosure/timestep/pull/131#discussion_r126286252","pull_request_url":"https://api.github.com/repos/gameclosure/timestep/pulls/131","_links":{"self":{"href":"https://api.github.com/repos/gameclosure/timestep/pulls/comments/126286252"},"html":{"href":"https://github.com/gameclosure/timestep/pull/131#discussion_r126286252"},"pull_request":{"href":"https://api.github.com/repos/gameclosure/timestep/pulls/131"}}},"pull_request":{"url":"https://api.github.com/repos/gameclosure/timestep/pulls/131","id":128714653,"html_url":"https://github.com/gameclosure/timestep/pull/131","diff_url":"https://github.com/gameclosure/timestep/pull/131.diff","patch_url":"https://github.com/gameclosure/timestep/pull/131.patch","issue_url":"https://api.github.com/repos/gameclosure/timestep/issues/131","number":131,"state":"open","locked":false,"title":"Localization","user":{"login":"Wunderkemmer","id":1516670,"avatar_url":"https://avatars2.githubusercontent.com/u/1516670?v=3","gravatar_id":"","url":"https://api.github.com/users/Wunderkemmer","html_url":"https://github.com/Wunderkemmer","followers_url":"https://api.github.com/users/Wunderkemmer/followers","following_url":"https://api.github.com/users/Wunderkemmer/following{/other_user}","gists_url":"https://api.github.com/users/Wunderkemmer/gists{/gist_id}","starred_url":"https://api.github.com/users/Wunderkemmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wunderkemmer/subscriptions","organizations_url":"https://api.github.com/users/Wunderkemmer/orgs","repos_url":"https://api.github.com/users/Wunderkemmer/repos","events_url":"https://api.github.com/users/Wunderkemmer/events{/privacy}","received_events_url":"https://api.github.com/users/Wunderkemmer/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-04T02:15:58Z","updated_at":"2017-07-08T17:21:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2aa71a71601ce6f100574101baf6419473e6d3b1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/gameclosure/timestep/pulls/131/commits","review_comments_url":"https://api.github.com/repos/gameclosure/timestep/pulls/131/comments","review_comment_url":"https://api.github.com/repos/gameclosure/timestep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gameclosure/timestep/issues/131/comments","statuses_url":"https://api.github.com/repos/gameclosure/timestep/statuses/589e613defbc87c4f9950cb63ae1e1283cc2fd9d","head":{"label":"gameclosure:localization","ref":"localization","sha":"589e613defbc87c4f9950cb63ae1e1283cc2fd9d","user":{"login":"gameclosure","id":491323,"avatar_url":"https://avatars1.githubusercontent.com/u/491323?v=3","gravatar_id":"","url":"https://api.github.com/users/gameclosure","html_url":"https://github.com/gameclosure","followers_url":"https://api.github.com/users/gameclosure/followers","following_url":"https://api.github.com/users/gameclosure/following{/other_user}","gists_url":"https://api.github.com/users/gameclosure/gists{/gist_id}","starred_url":"https://api.github.com/users/gameclosure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gameclosure/subscriptions","organizations_url":"https://api.github.com/users/gameclosure/orgs","repos_url":"https://api.github.com/users/gameclosure/repos","events_url":"https://api.github.com/users/gameclosure/events{/privacy}","received_events_url":"https://api.github.com/users/gameclosure/received_events","type":"Organization","site_admin":false},"repo":{"id":8154966,"name":"timestep","full_name":"gameclosure/timestep","owner":{"login":"gameclosure","id":491323,"avatar_url":"https://avatars1.githubusercontent.com/u/491323?v=3","gravatar_id":"","url":"https://api.github.com/users/gameclosure","html_url":"https://github.com/gameclosure","followers_url":"https://api.github.com/users/gameclosure/followers","following_url":"https://api.github.com/users/gameclosure/following{/other_user}","gists_url":"https://api.github.com/users/gameclosure/gists{/gist_id}","starred_url":"https://api.github.com/users/gameclosure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gameclosure/subscriptions","organizations_url":"https://api.github.com/users/gameclosure/orgs","repos_url":"https://api.github.com/users/gameclosure/repos","events_url":"https://api.github.com/users/gameclosure/events{/privacy}","received_events_url":"https://api.github.com/users/gameclosure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gameclosure/timestep","description":null,"fork":false,"url":"https://api.github.com/repos/gameclosure/timestep","forks_url":"https://api.github.com/repos/gameclosure/timestep/forks","keys_url":"https://api.github.com/repos/gameclosure/timestep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gameclosure/timestep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gameclosure/timestep/teams","hooks_url":"https://api.github.com/repos/gameclosure/timestep/hooks","issue_events_url":"https://api.github.com/repos/gameclosure/timestep/issues/events{/number}","events_url":"https://api.github.com/repos/gameclosure/timestep/events","assignees_url":"https://api.github.com/repos/gameclosure/timestep/assignees{/user}","branches_url":"https://api.github.com/repos/gameclosure/timestep/branches{/branch}","tags_url":"https://api.github.com/repos/gameclosure/timestep/tags","blobs_url":"https://api.github.com/repos/gameclosure/timestep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gameclosure/timestep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gameclosure/timestep/git/refs{/sha}","trees_url":"https://api.github.com/repos/gameclosure/timestep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gameclosure/timestep/statuses/{sha}","languages_url":"https://api.github.com/repos/gameclosure/timestep/languages","stargazers_url":"https://api.github.com/repos/gameclosure/timestep/stargazers","contributors_url":"https://api.github.com/repos/gameclosure/timestep/contributors","subscribers_url":"https://api.github.com/repos/gameclosure/timestep/subscribers","subscription_url":"https://api.github.com/repos/gameclosure/timestep/subscription","commits_url":"https://api.github.com/repos/gameclosure/timestep/commits{/sha}","git_commits_url":"https://api.github.com/repos/gameclosure/timestep/git/commits{/sha}","comments_url":"https://api.github.com/repos/gameclosure/timestep/comments{/number}","issue_comment_url":"https://api.github.com/repos/gameclosure/timestep/issues/comments{/number}","contents_url":"https://api.github.com/repos/gameclosure/timestep/contents/{+path}","compare_url":"https://api.github.com/repos/gameclosure/timestep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gameclosure/timestep/merges","archive_url":"https://api.github.com/repos/gameclosure/timestep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gameclosure/timestep/downloads","issues_url":"https://api.github.com/repos/gameclosure/timestep/issues{/number}","pulls_url":"https://api.github.com/repos/gameclosure/timestep/pulls{/number}","milestones_url":"https://api.github.com/repos/gameclosure/timestep/milestones{/number}","notifications_url":"https://api.github.com/repos/gameclosure/timestep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gameclosure/timestep/labels{/name}","releases_url":"https://api.github.com/repos/gameclosure/timestep/releases{/id}","deployments_url":"https://api.github.com/repos/gameclosure/timestep/deployments","created_at":"2013-02-12T08:04:13Z","updated_at":"2017-06-10T03:09:48Z","pushed_at":"2017-07-04T02:15:58Z","git_url":"git://github.com/gameclosure/timestep.git","ssh_url":"git@github.com:gameclosure/timestep.git","clone_url":"https://github.com/gameclosure/timestep.git","svn_url":"https://github.com/gameclosure/timestep","homepage":null,"size":3197,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":23,"forks":28,"open_issues":23,"watchers":14,"default_branch":"master"}},"base":{"label":"gameclosure:es6","ref":"es6","sha":"2bf2277b2f4c97c59a4d47fdfd50abba4d92b17a","user":{"login":"gameclosure","id":491323,"avatar_url":"https://avatars1.githubusercontent.com/u/491323?v=3","gravatar_id":"","url":"https://api.github.com/users/gameclosure","html_url":"https://github.com/gameclosure","followers_url":"https://api.github.com/users/gameclosure/followers","following_url":"https://api.github.com/users/gameclosure/following{/other_user}","gists_url":"https://api.github.com/users/gameclosure/gists{/gist_id}","starred_url":"https://api.github.com/users/gameclosure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gameclosure/subscriptions","organizations_url":"https://api.github.com/users/gameclosure/orgs","repos_url":"https://api.github.com/users/gameclosure/repos","events_url":"https://api.github.com/users/gameclosure/events{/privacy}","received_events_url":"https://api.github.com/users/gameclosure/received_events","type":"Organization","site_admin":false},"repo":{"id":8154966,"name":"timestep","full_name":"gameclosure/timestep","owner":{"login":"gameclosure","id":491323,"avatar_url":"https://avatars1.githubusercontent.com/u/491323?v=3","gravatar_id":"","url":"https://api.github.com/users/gameclosure","html_url":"https://github.com/gameclosure","followers_url":"https://api.github.com/users/gameclosure/followers","following_url":"https://api.github.com/users/gameclosure/following{/other_user}","gists_url":"https://api.github.com/users/gameclosure/gists{/gist_id}","starred_url":"https://api.github.com/users/gameclosure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gameclosure/subscriptions","organizations_url":"https://api.github.com/users/gameclosure/orgs","repos_url":"https://api.github.com/users/gameclosure/repos","events_url":"https://api.github.com/users/gameclosure/events{/privacy}","received_events_url":"https://api.github.com/users/gameclosure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gameclosure/timestep","description":null,"fork":false,"url":"https://api.github.com/repos/gameclosure/timestep","forks_url":"https://api.github.com/repos/gameclosure/timestep/forks","keys_url":"https://api.github.com/repos/gameclosure/timestep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gameclosure/timestep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gameclosure/timestep/teams","hooks_url":"https://api.github.com/repos/gameclosure/timestep/hooks","issue_events_url":"https://api.github.com/repos/gameclosure/timestep/issues/events{/number}","events_url":"https://api.github.com/repos/gameclosure/timestep/events","assignees_url":"https://api.github.com/repos/gameclosure/timestep/assignees{/user}","branches_url":"https://api.github.com/repos/gameclosure/timestep/branches{/branch}","tags_url":"https://api.github.com/repos/gameclosure/timestep/tags","blobs_url":"https://api.github.com/repos/gameclosure/timestep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gameclosure/timestep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gameclosure/timestep/git/refs{/sha}","trees_url":"https://api.github.com/repos/gameclosure/timestep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gameclosure/timestep/statuses/{sha}","languages_url":"https://api.github.com/repos/gameclosure/timestep/languages","stargazers_url":"https://api.github.com/repos/gameclosure/timestep/stargazers","contributors_url":"https://api.github.com/repos/gameclosure/timestep/contributors","subscribers_url":"https://api.github.com/repos/gameclosure/timestep/subscribers","subscription_url":"https://api.github.com/repos/gameclosure/timestep/subscription","commits_url":"https://api.github.com/repos/gameclosure/timestep/commits{/sha}","git_commits_url":"https://api.github.com/repos/gameclosure/timestep/git/commits{/sha}","comments_url":"https://api.github.com/repos/gameclosure/timestep/comments{/number}","issue_comment_url":"https://api.github.com/repos/gameclosure/timestep/issues/comments{/number}","contents_url":"https://api.github.com/repos/gameclosure/timestep/contents/{+path}","compare_url":"https://api.github.com/repos/gameclosure/timestep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gameclosure/timestep/merges","archive_url":"https://api.github.com/repos/gameclosure/timestep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gameclosure/timestep/downloads","issues_url":"https://api.github.com/repos/gameclosure/timestep/issues{/number}","pulls_url":"https://api.github.com/repos/gameclosure/timestep/pulls{/number}","milestones_url":"https://api.github.com/repos/gameclosure/timestep/milestones{/number}","notifications_url":"https://api.github.com/repos/gameclosure/timestep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gameclosure/timestep/labels{/name}","releases_url":"https://api.github.com/repos/gameclosure/timestep/releases{/id}","deployments_url":"https://api.github.com/repos/gameclosure/timestep/deployments","created_at":"2013-02-12T08:04:13Z","updated_at":"2017-06-10T03:09:48Z","pushed_at":"2017-07-04T02:15:58Z","git_url":"git://github.com/gameclosure/timestep.git","ssh_url":"git@github.com:gameclosure/timestep.git","clone_url":"https://github.com/gameclosure/timestep.git","svn_url":"https://github.com/gameclosure/timestep","homepage":null,"size":3197,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":23,"forks":28,"open_issues":23,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gameclosure/timestep/pulls/131"},"html":{"href":"https://github.com/gameclosure/timestep/pull/131"},"issue":{"href":"https://api.github.com/repos/gameclosure/timestep/issues/131"},"comments":{"href":"https://api.github.com/repos/gameclosure/timestep/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/gameclosure/timestep/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/gameclosure/timestep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gameclosure/timestep/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/gameclosure/timestep/statuses/589e613defbc87c4f9950cb63ae1e1283cc2fd9d"}}}}
{"actor":{"display_login":"yofreke"}}