mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Add View#canvas.
This commit is contained in:
parent
ce01d2cc59
commit
4cc3ef87cd
1 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,10 @@ var View = this.View = Base.extend({
|
|||
View.focused = this;
|
||||
},
|
||||
|
||||
getCanvas: function() {
|
||||
return this._canvas;
|
||||
},
|
||||
|
||||
/**
|
||||
* The bounds of the view, i.e. the bounds of the part of the project which
|
||||
* is visible in the window.
|
||||
|
|
Loading…
Reference in a new issue