git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit 1ba623ec650594963538cebbe8d71345ce30501d

cropper should be column, not row

Dominic Tarr committed on 7/24/2016, 5:12:33 AM
Parent: 4753e515a6b6bd1c0bb3e9c6b5fcd66e2ba2bc09

Files changed

modules/avatar-edit.jschanged
modules/avatar-edit.jsView
@@ -20,12 +20,12 @@
2020 function crop (d, cb) {
2121 var data
2222 var canvas = hypercrop(h('img', {src: d}))
2323
24- return h('div.row.avatar_pic',
24+ return h('div.column.avatar_pic',
2525 canvas,
2626 //canvas.selection,
27- h('div.avatar_pic__controls',
27+ h('div.row.avatar_pic__controls',
2828 h('button', 'okay', {onclick: function () {
2929 cb(null, canvas.selection.toDataURL())
3030 }}),
3131 h('button', 'cancel', {onclick: function () {
@@ -107,5 +107,4 @@
107107 )
108108 )
109109 }
110110
111-

Built with git-ssb-web