summaryrefslogtreecommitdiff
path: root/core/display.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/display.js')
-rw-r--r--core/display.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/display.js b/core/display.js
index ac2e1e5..26e0b91 100644
--- a/core/display.js
+++ b/core/display.js
@@ -553,6 +553,10 @@
},
// Overridden getters/setters
+ get_context: function () {
+ return this._drawCtx;
+ },
+
set_scale: function (scale) {
this._rescale(scale);
},