Skip to content

Commit d3e62de

Browse files
committed
Multiple updates:
- Better documentation - Fixed some bugs with AS3 defaults including perspective calculation - Implemented some of Bitmap support - Fixed lots of indentation - Removed unused files
1 parent c17c05c commit d3e62de

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+5249
-4434
lines changed

dist/CommentCoreLibrary.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,8 +1087,8 @@ var CommentManager = (function() {
10871087
this.csa[comAlloc].setBounds(this.width,this.height);
10881088
}
10891089
// Update 3d perspective
1090-
this.stage.style.perspective = this.width * Math.tan(40 * Math.PI/180) / 2 + "px";
1091-
this.stage.style.webkitPerspective = this.width * Math.tan(40 * Math.PI/180) / 2 + "px";
1090+
this.stage.style.perspective = this.width / Math.tan(55 * Math.PI/180) / 2 + "px";
1091+
this.stage.style.webkitPerspective = this.width / Math.tan(55 * Math.PI/180) / 2 + "px";
10921092
};
10931093

10941094
CommentManager.prototype.init = function (renderer) {

dist/CommentCoreLibrary.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)