fix crazyhouse 3d pockets
This commit is contained in:
parent
beff250ee1
commit
bdca3aa122
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue