some resizing
This commit is contained in:
parent
59a1f808e9
commit
6cd844c53a
@ -267,6 +267,8 @@ button:hover {
|
|||||||
|
|
||||||
.cryp-box .skills {
|
.cryp-box .skills {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
min-width: 150px;
|
||||||
|
flex: 1 1 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cryp-skill-btn {
|
.cryp-skill-btn {
|
||||||
|
|||||||
@ -32,10 +32,6 @@ function GamePanel(props) {
|
|||||||
? activeSkill.crypId === cryp.id && activeSkill.skill === s
|
? activeSkill.crypId === cryp.id && activeSkill.skill === s
|
||||||
: false;
|
: false;
|
||||||
|
|
||||||
if (activeSkill) {
|
|
||||||
console.log(cryp.id, s, highlight);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
key={i}
|
key={i}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ function setupKeys(store) {
|
|||||||
key.unbind('esc');
|
key.unbind('esc');
|
||||||
key('esc', () => store.dispatch(actions.setCombiner([null, null, null])));
|
key('esc', () => store.dispatch(actions.setCombiner([null, null, null])));
|
||||||
key('esc', () => store.dispatch(actions.setReclaiming(false)));
|
key('esc', () => store.dispatch(actions.setReclaiming(false)));
|
||||||
|
key('esc', () => store.dispatch(actions.setActiveSkill(null)));
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = setupKeys;
|
module.exports = setupKeys;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user