summaryrefslogtreecommitdiff
path: root/boot.js
diff options
context:
space:
mode:
Diffstat (limited to 'boot.js')
-rw-r--r--boot.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot.js b/boot.js
index b30e95b..d62791e 100644
--- a/boot.js
+++ b/boot.js
@@ -95,6 +95,9 @@ async function load() {
setFont(context, font) {
context.font = font;
},
+ setTextAlign(context, align) {
+ context.textAlign = align;
+ },
clearRect(context, x, y, w, h) {
context.clearRect(x, y, w, h);
},