瀏覽代碼

Make the avatar's dimensions settable

JC Brand 8 年之前
父節點
當前提交
19d51f559d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/templates/avatar.html

+ 1 - 1
src/templates/avatar.html

@@ -1 +1 @@
-<canvas height="32px" width="32px" class="avatar"></canvas>
+<canvas height="{{height}}px" width="{{width}}px" class="avatar"></canvas>