fix crazyhouse 3d pockets

This commit is contained in:
Thibault Duplessis 2016-01-20 23:08:33 +07:00
parent beff250ee1
commit bdca3aa122
2 changed files with 3 additions and 3 deletions

View file

@ -608,8 +608,8 @@ div.table {
}
.pocket piece {
display:inline-block;
width: 56px;
height: 56px;
width: 56px!important;
height: 56px!important;
position: relative;
}
.pocket piece:first-child {

View file

@ -27,7 +27,7 @@ module.exports = {
var oKeys = Object.keys(pocket)
var usable = color === ctrl.chessground.data.movable.color;
return m('div', {
class: 'pocket ' + position + (usable ? ' usable' : ''),
class: 'pocket is2d ' + position + (usable ? ' usable' : ''),
config: function(el, isUpdate, context) {
if (isUpdate) return;
var onstart = partial(crazyDrag, ctrl, color);