Skip to content

Commit

Permalink
Fixed missing x/y attribtues on Viewport.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbirk committed Jan 24, 2016
1 parent b743898 commit b61b4ad
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esper",
"version": "0.6.8",
"version": "0.6.9",
"homepage": "https://github.com/kbirk/esper",
"authors": [
"kbirk <birk.kevin@gmail.com>"
Expand Down
6 changes: 3 additions & 3 deletions build/esper.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/esper.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esper",
"version": "0.6.8",
"version": "0.6.9",
"description": "A low-level WebGL rendering framework",
"author": "Kevin Birk <birk.kevin@gmail.com>",
"main": "./src/exports.js",
Expand Down
4 changes: 2 additions & 2 deletions src/core/Viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
spec.height || this.gl.canvas.height );
// set offset
this.offset(
spec.x,
spec.y );
spec.x !== undefined ? spec.x : 0,
spec.y !== undefined ? spec.y : 0);
}

/**
Expand Down

0 comments on commit b61b4ad

Please sign in to comment.