From 83a87a64e3dbac1561c5031cdd88093e454b05c1 Mon Sep 17 00:00:00 2001 From: Mashy Date: Tue, 29 Oct 2019 17:49:32 +1000 Subject: [PATCH] add inventory info hover if you have 1 or less items in inventory --- CHANGELOG.md | 3 +++ client/src/components/vbox.component.jsx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e86d66ca..b638b666 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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% diff --git a/client/src/components/vbox.component.jsx b/client/src/components/vbox.component.jsx index c2c1a51a..81155b66 100644 --- a/client/src/components/vbox.component.jsx +++ b/client/src/components/vbox.component.jsx @@ -404,9 +404,12 @@ class Vbox extends preact.Component { return true; } + const inventoryHover = vbox.bound.length > 1 ? false : e => hoverInfo(e, 'inventory'); + return (
e.stopPropagation()} style={vboxSelecting || (itemUnequip.length) ? { cursor: 'pointer' } : null}>