Add View#canvas.

This commit is contained in:
Jürg Lehni 2011-06-04 15:15:35 +01:00
parent ce01d2cc59
commit 4cc3ef87cd

View file

@ -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.