add inventory info hover if you have 1 or less items in inventory
This commit is contained in:
parent
8ce7edd841
commit
83a87a64e3
@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Step by step tutorial
|
||||
- Will activate during the learn game for the first round
|
||||
- There is a button which will exit tutorial so you can continune the normal practice mode
|
||||
|
||||
- Skill combo previews
|
||||
- You can now preview what item combos will create!
|
||||
- Click into the item in the info section table (top right) and it will be replaced with the new item
|
||||
@ -23,6 +24,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Made general performance improvements
|
||||
- Now has default tutorial text for the first round (tells the player to select skills and then the targets)
|
||||
|
||||
- Moved the login page demo to a new info tab, increased the speed of demo and it now creates random combos
|
||||
|
||||
- Buff
|
||||
- Previously increased red power and speed stat by 25%
|
||||
- Now increases red power, blue power and speed stat by 30%
|
||||
|
||||
@ -404,9 +404,12 @@ class Vbox extends preact.Component {
|
||||
return true;
|
||||
}
|
||||
|
||||
const inventoryHover = vbox.bound.length > 1 ? false : e => hoverInfo(e, 'inventory');
|
||||
|
||||
return (
|
||||
<div class={inventoryClass}
|
||||
onMouseDown={inventoryClick}
|
||||
onMouseOver={inventoryHover}
|
||||
onClick={e => e.stopPropagation()}
|
||||
style={vboxSelecting || (itemUnequip.length) ? { cursor: 'pointer' } : null}>
|
||||
<div class="vbox-hdr">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user