Skip to content

Commit

Permalink
backgroundColor's bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Dec 12, 2022
1 parent f13cdc2 commit ebab2f5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/kagura.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/kagura.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ <h1>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.9/lodash.min.js"></script>
<script src="kagura.js"></script>
<script>
console.log(kagura)

const app=new kagura.Kagura({
element:document.getElementById("test"),

})
app.mainroop()
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion src/kaguraapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class{
Class.prototype.app=this.app;
Class.prototype.width=this.app.renderer.width;
Class.prototype.height=this.app.renderer.height;
Class.prototype.backgroundColor=this.options.backgroundColor;
return new Class();
}
mainroop(){
Expand Down

0 comments on commit ebab2f5

Please sign in to comment.