tweak board editor to make castling fit box
parent
b1abe75761
commit
44a465649c
|
@ -35,9 +35,7 @@ object JsData extends lila.Steroids {
|
|||
I18nKeys.loadPosition,
|
||||
I18nKeys.castling,
|
||||
I18nKeys.whiteCastlingKingside,
|
||||
I18nKeys.whiteCastlingQueenside,
|
||||
I18nKeys.blackCastlingKingside,
|
||||
I18nKeys.blackCastlingQueenside,
|
||||
I18nKeys.whitePlays,
|
||||
I18nKeys.blackPlays,
|
||||
I18nKeys.continueFromHere,
|
||||
|
|
|
@ -91,11 +91,11 @@ function controls(ctrl, fen) {
|
|||
m('strong', ctrl.trans('castling')),
|
||||
m('div', [
|
||||
castleCheckBox(ctrl, 'K', ctrl.trans('whiteCastlingKingside'), ctrl.options.inlineCastling),
|
||||
castleCheckBox(ctrl, 'Q', ctrl.trans('whiteCastlingQueenside'), true)
|
||||
castleCheckBox(ctrl, 'Q', 'O-O-O', true)
|
||||
]),
|
||||
m('div', [
|
||||
castleCheckBox(ctrl, 'k', ctrl.trans('blackCastlingKingside'), ctrl.options.inlineCastling),
|
||||
castleCheckBox(ctrl, 'q', ctrl.trans('blackCastlingQueenside'), true)
|
||||
castleCheckBox(ctrl, 'q', 'O-O-O', true)
|
||||
])
|
||||
])
|
||||
]),
|
||||
|
|
Loading…
Reference in New Issue