From 4cc3ef87cdb438b5d268f1a373a04eb9ff27937a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 4 Jun 2011 15:15:35 +0100 Subject: [PATCH] Add View#canvas. --- src/ui/View.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/View.js b/src/ui/View.js index 302aa892..e8c4ad15 100644 --- a/src/ui/View.js +++ b/src/ui/View.js @@ -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.